[server][HatoholThreadBase] Fix a race that may cause when stop() is called before the startup of the thread is done.