Rename the SetIsCancel() to SetCancel(), and remove the unused code