Fixed replicaset connection issue where it got stuck asking same server over and over again