COMETD-474 (ReloadExtension doesn't clear state if server is down at the moment of disconnection).

Modified reload extension to clear state also on outgoing disconnect.