Code example for ExecutorService

Methods: isShutdown, isTerminated, shutdown, shutdownNow