}
// ask to scale down
try {
if (client.terminateInstance(domain, subDomain)) {
Thread th = new Thread(new TerminatingInstancesStateChecker(appDomainContext, domain, subDomain));
th.start();
// log.debug(clusterStr +": There's an instance who's in shutting down state " +
// "(but still not left ELB), hence we should wait till " +
// "it leaves the cluster.");