added logic to throttle restarts and checks