trying to fix connections with repeated running of tests