never call stopWait from inside ClientRegister thread proc