The best way to avoid running around like a chicken with its head cut off is to not put IWT on every key. If you put IWT on every key, you WILL run around in circles, you WILL have runaways, and you WILL have to manually deal with them.

Outside PvP is probably not worth spamming IWT anyway. I find a few well timed presses of a manual "Melee IWT" key map most effective at avoiding randomly running toons.
^^^ this

If your guys run away, you can just hit the key again, or hit follow. It's not a big deal when you're doing it manually, but if you enable IWT on every key you better avoid cliffs like the plague.