Refresh session before checking replica set status
Merge pull request #3 from voidspace/initiate-refresh