Keepalive DB tasks

Reloads the tasks from the database. Seems to be working properly on Heroku now with `STDOUT.sync` and `trap`.