code: def reset(self):
          
          self._monitor.notify_received()
          self._pinger.stop()
          self._mark_fresh()
docs: Reset the monitor.
  
          Reset the aliveness timeouts. Clear the stale state. Cancel and stop
          pinging.
  
          Call `on_fresh` if the stale state was set.