adding exceptions to threadpool