Fix the database disconnect issues.

We no longer suffer from the channels timing out if left unused for
awhile.  We create a new channel from the factory each time it is
needed.