logger.info("Response from Endpoint {}", e.getOut().getBody());
// Send back the Done status
e.setStatus(Status.Done);
client.send(e);
} catch (Exception e) {
e.printStackTrace();
logger.error(e.getMessage());
}
// Sleep a bit
try {
Thread.sleep(5000);