Your reply seams you can have C loss for sure. However, I doubt it unless you did it and taxman did not knock at your door. I guess it could fall in the selling and buying the same stock within 30 days, which no C loss apply.
It should be clear the difference between withholding tax and marginal income tax in the first place.