Exception handling for thread pool executor service