Killswitch: Per-function short-circuit mitigation primitive