Emitting 'clientDisconnected' in case of error.

Fixes #79.
Merge pull request #79 from mcollina/fix-79

Don't emit clientDisconnected event when force close client.