Improve stability of the testReusePeerRecovery test