title: Is it possible to capture a Ctrl+C signal (SIGINT) and run a cleanup function, in a "defer" fashion?
body: <p>I want to capture the <kbd>Ctrl+C</kbd> (<code>SIGINT</code>) signal sent from the console and print out some partial run totals.</p>