private void runCleanup() throws IOException {
DistStageAck response = null;
try {
Map<String, String> extras = getCurrentExtras(configuration, cluster);
ScenarioCleanupStage stage = (ScenarioCleanupStage) scenario.getStage(scenario.getStageCount() - 1, state, extras, null);
InitHelper.init(stage);
stage.initOnSlave(state);
log.info("Starting stage " + (log.isDebugEnabled() ? stage.toString() : stage.getName()));
response = stage.executeOnSlave();
} catch (Exception e) {
log.error("Stage execution has failed", e);
response = new DistStageAck(state).error("Stage execution has failed", e);
} finally {
if (response == null) {