def cancel(self):
        with self.cond:
            if self.status != ResettableTimer.IDLE:
                self.status = ResettableTimer.IDLE
                if not self.executing:
                    self.cond.notifyAll()
                    if self.lock is not None:
                        self.lock.release()
Cancels the countdown without calling back.
dataset/ETHPy150Open remram44/gitobox/gitobox/timer.py/ResettableTimer.cancel