code: def close(self):
          
          if self.connection is not None:
              self.connection.close()
          if self.connection_fd is not None:
              self.connection_fd.close()
docs: Quit the connection with mod-host