Run inside actions on script stop
When the script is stopped, all of the inside actions will be run once and then the script will stop.
tip
You can have more than one of these, however there's no guarantee to the ordering, and they can run concurrently.