Change the threading model to a threadpool model.