Attempting to create a threadpool