scheduler: remove clean_schedules which is undefined in this version