[signals] Is it possible to capture a Ctrl+C signal and run a cleanup function, in a "defer" fashion?

Death is a simple library that uses channels and a wait group to wait for shutdown signals. Once the signal has been received it will then call a close method on all of your structs that you want to cleanup.