Make shutdown more graceful.

This wasn't playing well with daemontools.
This conflicts with something else on my server.

It should be a config item of course.