code: def pong_received(self, payload=None):
          
          if self._timer is not None:
              self._timer.cancel()
              self._failures = 0
              asyncio.async(self.send_ping(payload=payload))
docs: Called when a pong is received. So the timer is cancelled