Fix removing of pending unscheduled task