Yet another c++ thread pool implementation