code: def _cancel_outstanding(self):
          
          for d in list(self._outstanding):
              d.addErrback(lambda _: None)  # Eat any uncaught errors
              d.cancel()
docs: Cancel all of our outstanding requests