clear pending task