small (debuging) improvments to ThreadPool