fix redundant "disconnect" event on disconnect()
Merge pull request #6 from juliangruber/fix/redundant-disconnect

fix redundant "disconnect" event on disconnect()