Changed the configuration files around associated with the connectdb().  This setup actually seems to work reliably.