int ii = pos;
for (int j = 0; j < numToUnDeploy; j++) {
int depPos = random.nextInt(deployed.size());
String depID = deployed.remove(depPos);
toUndeploy++;
v.undeployVerticle(depID, onSuccess(d -> {
undeployCount.incrementAndGet();
}));
}
}
int totUndeployed = toUndeploy;