remove unused threadpool class