docs: def _reconnect(self):
          """Schedule the next connection attempt if the class is not currently
          closing.
  
          """
          if self.idle or self.closed:
              LOGGER.debug('Attempting RabbitMQ reconnect in %s seconds',
                           self.reconnect_delay)
              self.io_loop.call_later(self.reconnect_delay, self.connect)
              return
          LOGGER.warning('Reconnect called while %s', self.state_description)