Call CClient::initialize directly in the constructor and allocate the thread in the initialization of the thread (because sendData is not static)