Register for connectionDisconnectedEvent.