feat: support cleaner cancellation or replacement in util/interrupt

Timeline

Michael Muré (MichaelMure) commented

Be careful, cleaners should be executed in the reverse order that they have been defined, in a similar fashion as defer in go.

Michael Muré (MichaelMure) closed the bug