shutdown 0.4.0

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