I would do the latter with $clean_restart_max being pretty big (maybe even calculated based on a number of steps).
I would do the latter with $clean_restart_max being pretty big (maybe even calculated based on a number of steps).