Explicitly close connectors in tests