code: def retry_connect(self):
          
          with self.lock:
              if self._funds_remaining > 0 and not self._leaving_state:
                  self._open_channels()
docs: Will be called when new channels in the token network are detected.
          If the minimum number of channels was not yet established, it will try
          to open new channels.
  
          If the connection manager has no funds, this is a noop.