C++ Image Server: Thread Pool implementation (unfinished though)