fixed ClientRegister infinite thread resume