I'm submitting a ...
[ x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
EDIT:
Disconnected event is fired ONCE as very first "connection problem", when library is in "reconnecting" state (every second try to reconnect) no Disconnected event is fired.
I think it will be have "Reconnecting" event for handle this state.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
I'm submitting a ... [ x] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary
EDIT: Disconnected event is fired ONCE as very first "connection problem", when library is in "reconnecting" state (every second try to reconnect) no Disconnected event is fired.
I think it will be have "Reconnecting" event for handle this state.
My quick fix is this: