docs: def _maybe_clear_confirmation_futures(self):
          """Invoked when the message has finished processing, ensuring there
          are no confirmation futures pending.
  
          """
          for name in self._connections.keys():
              self._connections[name].clear_confirmation_futures()