Feature/thread pool