Added an active disconnected state, to make the code clearer.
1 file changed