SERVER-6071 use command on local.slaves instead of cursor

fixed a bug where we would have to wait for a command to timeout on a dead syncsource
now we check that the sync target hasnt changed before using the connection