update library again to use new thread pool