shutdownNow
shutdownNow is a method in the Java standard library, defined by the ExecutorService interface in the java.util.concurrent package. It was introduced to provide a means of attempting an immediate shutdown of an executor, as an alternative to the graceful shutdown provided by shutdown().
When invoked, shutdownNow tries to stop all actively executing tasks and halts the processing of waiting tasks.
The method returns a List<Runnable> containing the tasks that were submitted to the executor but had not
shutdownNow does not guarantee cancellation of tasks that are currently running in a non-cooperative way; it
Compared with shutdown(), which transitions the executor to a state where no new tasks are accepted but