DatabaseConnection updated to ensure system exits if a connection
problem is found.