Implement Task ScheduleForStop
refactor