in elastic_agent_client/util/async_tools.py [0:0]
def stop(self): self.running = False self._sleeps.cancel()