Demonstration of using ThreadPoolExecutor from java.util.concurrent