Checking in new thread-pool code