Behavior on disconnect

The user only gets a state change when on a error-event from socket.io
happens, not on disconnect.