Put sched into try-except