I have an async script that spawns subprocesses, but can not figure out how to exit gracefully if a signal is used to cancel the script.
I have tried several variatio