Add error logging.
Silly tracing.
Silly tracing.
Close db connection when done.
Silly tracing.
Add callback to db calls.
Silly tracing.
Silly tracing.
Silly tracing.
Silly tracing.