fix disconnect event emitting when enabling reconn, #71

When enabling auto reconn, it should emit a disconnect event
when starting to reconnect.