You can also just do:

/cast [nochanneling] Wrath (or shadowbolt, or mind blast, etc.)

That way if you're channeling anything, it won't cast and interupt your spell.

I use it on my priest so I don't clip my mind flays