try {
if (task.getTaskTimeout() != null) {
queue.setMessageVisibilityTimeout(sqsAnswer.get(), task.getTaskTimeout());
}
new ExecuteWithRequestContext(task).execute();
queue.deleteMessage(sqsAnswer.get());
} catch (RuntimeException e) {
LOG.warn("Something went wrong and the task has not been executed. Redelivery will occur.", e);
}