Explicitly call onDisconnect after disconnecting the socket

Tells all listening channels that they are disconnected from the socket.

Fixes #130