Check if the task still exists