public void shutdown(){
  ExecutorService executor=Executors.newScheduledThreadPool(0);
  executor.submit(createShutdown(0));
}

public void shutdown ( ) { ExecutorService executor = Executors . newScheduledThreadPool ( 0 ) ; executor . submit ( createShutdown ( 0 ) ) ; }
shutdown all attached resources without waiting on the thread
