Threadpool hotfix

Resolves #5