Fix flaky test_actor_failures::test_actor_restart (#9509)
Fix flaky test_actor_failures::test_actor_restart (#9509)

* Fix flaky test

* os exit
richardliaw/ray,robertnishihara/ray,robertnishihara/ray,pcmoritz/ray-1,pcmoritz/ray-1,ray-project/ray,robertnishihara/ray,robertnishihara/ray,ray-project/ray,pcmoritz/ray-1,ray-project/ray,richardliaw/ray,ray-project/ray,pcmoritz/ray-1,pcmoritz/ray-1,pcmoritz/ray-1,richardliaw/ray,robertnishihara/ray,richardliaw/ray,robertnishihara/ray,richardliaw/ray,richardliaw/ray,robertnishihara/ray,pcmoritz/ray-1,richardliaw/ray,ray-project/ray,richardliaw/ray,ray-project/ray,ray-project/ray,robertnishihara/ray,ray-project/ray,pcmoritz/ray-1,robertnishihara/ray