If the engine is currently running, this method will initiate an orderly shutdown. No new tasks will be accepted, but already running tasks will be allowed to finish. Use {@link #awaitTermination(int,java.util.concurrent.TimeUnit)}to wait for the engine to shutdown.
If the engine is already shutting down or stopped this method will have no effect.