Set reconnect: true in database.yml.

We need this enabled for Resque.