Fixed the connection handling - some modules would want to run cachedb type ops in the mod init