use connectSet to connect to replica set