@@ -529,6 +529,7 @@ Connection.prototype._onMethod = function (channel, method, args) {
     case methods.connectionCloseOk:
       debug && debug("Received close-ok from server, closing socket");
       this.socket.end();
+      this.socket.destroy();
       break;
 
     case methods.connectionBlocked: