Share a common helper function for restarting sched_scan