Object oriented C++ thread class (wrapper around std::thread)