Unit test for connection creation retry 
