Open
Description
Currently, it is unclear that custom restart logics should be handled in a connectionError
event. Furthermore, the client has clearly disconnected when connection to the main server is cut; proper disconnection should occur and emit the disconnect
event at this stage
Also there should be documentation on how to handle custom restarts when autorestart
is unset.