Threadpool creation/destruction API