Emit 'disconnected' when disconnect