code: def interrupt (aggregate):
      
      while True:
          try:
              log.warn(LOG_CHECK,
                 _("interrupt; waiting for active threads to finish"))
              log.warn(LOG_CHECK,
                 _("another interrupt will exit immediately"))
              abort(aggregate)
              break
          except KeyboardInterrupt:
              pass
docs: Interrupt execution and shutdown, ignoring any subsequent
      interrupts.