Support TERM graceful shutdown (see http://hone.heroku.com/resque/2012/08/21/resque-signals.html)