Fix master crash on ctl-c for long-running job (#34490)
Fix master crash on ctl-c for long-running job (#34490)

* Fix master crash on ctl-c for long-running job

This was causing events to loop into the reactor, spiking CPU and leaking memory.

* Lint

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt