I want to submit a pr to s/SIGINT/0

You want to do that cleanup regardless why you exit.