Currently CommandContext will send a SIGKILL which for the common case means there will likely be a dirty exit. It would be nice if we had the ability to either specify or override the kill behaviour.
This has previously been brought up in #22757 and #21135, where it was deemed as not having enough demand and would be revisited upon later.