indent
retry 3 times for connection while setting replicaset