shutdown 0.2.1

shutdown can be used to gracefully exit (part of) a running program
Documentation