Code example for ExecutorService

Methods: awaitTermination, isShutdown, shutdown, shutdownNow