Add a (failing) test for the threadpool as a whole.
Cancel threads more thoroughly.