ThreadPool unittest: reimplement concurrency test, deterministically this time.