object eventemitter has no method 'destroy' at socket.onclose (stream.js) ?