<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stop(self):
 """Stop the Heartbeat Checker. :return: """

        self._running.clear()
        with self._lock:
            if self._timer:
                self._timer.cancel()
            self._timer = None