public Future<Boolean> shutdownAwaiting(long timeoutForEach){
  ExecutorService executor=Executors.newScheduledThreadPool(0);
  return executor.submit(createShutdown(timeoutForEach));
}

public Future < Boolean > shutdownAwaiting ( long timeoutForEach ) { ExecutorService executor = Executors . newScheduledThreadPool ( 0 ) ; return executor . submit ( createShutdown ( timeoutForEach ) ) ; }
shutdown all attached resources synchronously
