Fix for resque-heroku disconnecting DB

When using the resque-heroku gem (https://github.com/simple10/resque-heroku/commit/a8395541ee74fbfcf0c07e8109686ea8c92c570f), the database connection is killed after a job is run.

This patch addresses that issue.