Fixed race condition in RangeServer-failover-restart test