Pop the actual connection stuff into its own callback, so that we can
retry it if the database goes away or we can't connect, initially.
Exponential backoff strategy with retries for database connection.
Keep track of timer and cancel it on termination.
One more timer reference to handle.
Merge pull request #92 from davidw/connect_db_backoff

Exponential backoff + reconnect