Fixed the flaky SlaveRecoverTest.MultipleSlaves.

Review: https://reviews.apache.org/r/26243