Thread pool excercises (inspired by Jeffrey Richter)