code: def _close(self, e):
          
          self.stop()
          self.sock.close()
          self.closed = True
          self.close_cb(e)
docs: Really close the transport with a reason.
  
          e -- reason the socket is being closed.