revert threadpool

Revert the thread-pool implementation because the new one does not work well with the default client value.