Catch exit requests from the werkzeug reloader (and any other exit
requests, I suppose) as if they were SIGTERM.