remove completed tasks from scheduler