code: def stop(self):
          
          self._running.clear()
          with self._lock:
              if self._timer:
                  self._timer.cancel()
              self._timer = None
docs: Stop the Heartbeat Checker.
  
          :return: