Harden restart tests.