@Override
protected void doExecute() throws InvalidProcessStateException, ProcessExecutionException {
DownloadTaskDirect task = context.getTask();
logger.debug("Getting the locations to download {} in a blocking manner.", task.getDestinationName());
List<Locations> locations = task.consumeLocationsBlocking();
logger.debug("Got the locations to download {}.", task.getDestinationName());
if (task.isAborted()) {
logger.warn("Not executing step because task is aborted");
return;