Use unique connection identifiers and close all active test connections on test completion