Fix noreplyWait and reconnect