def close(self):
        """Close the connection to the client. This also notifies all pending queries that their
        request has failed."""
        close_quietly(self.socket)
        for callback in self.queries.values():
            callback.fn(False)
Close the connection to the client. This also notifies all pending queries that their
        request has failed.
nogotofail/mitm/blame/app_blame.py