Update mongo_replset.erl

if connection closed, return the new connection.