Checked for task is canceled