code: def run_checked (self):
          
          self.start_time = time.time()
          self.setName("Interrupt")
          while not self.stopped(self.WaitSeconds):
              duration = time.time() - self.start_time
              if duration > self.duration:
                  log.warn(LOG_CHECK, "Interrupt after %s" % strformat.strduration_long(duration))
                  raise KeyboardInterrupt()
docs: Wait and raise KeyboardInterrupt after.