"socket.end()" --> "socket.destroy()"