Sample code for testing thread pool executors shutdown