shutdown 0.3.1

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