code: async def sleep_async(self, seconds):
          
          try:
              await self.lock_async()
              await asyncio.sleep(seconds)
          except asyncio.TimeoutError:
              _logger.debug("Connection %r timed out while waiting for lock acquisition.", self.container_id)
          finally:
              self.release_async()
docs: Lock the connection for a given number of seconds.
  
          :param seconds: Length of time to lock the connection.
          :type seconds: int