Add debug logging to threadpool targets
Clarify comment
Instantiate the threadpool *after* forking.
Mark the task as done as soon as you pull it.
Ff there is an exception while running the func, that doesn't mean we should keep trying
backport tests for process manager
Add some tests for ThreadPool