Code example for ThreadPoolExecutor

Methods: awaitTermination, shutdown