Don't connect to the database autoamtically when configured.

Just because an environment has dynamodb access available and configured does not mean we need to connect. Rake tasks, for example, will often not need the connection, and sometimes have their access to the network restricted.

We should connect to the database the first time it is needed.