fix for endless reconnection problem

* do not generate 'close' event on ping failure - rely on socket 'close' event instead
* destroy() socket instead end() to make sure 'close' event comes quickly