How to break a threadpool