Fix operation cancel notification due to expected_size evaluation.