Moved the threadpool require to coroutinify