Fixed a flaky slave recovery test.