code: function end(cb) {
    if(typeof cb === 'function') {
      this.once('disconnect', cb);
    }
  
    if(this.tcp) {
      // must call destroy to terminate immediately
      this._socket.destroy();
    }else{
      this._socket.end();
    }
  }
docs: Proxy end to the underlying socket.