Simplest way:
The disconnect only happens if the character that is followed is not moving. So:

1.) hit the /follow macro
2.) immediately move your main
3.) when you reach your destination hit a button that you assign "move back" to on all characters. Do that as soon as you stop moving with your main and the /follow breaks.

Yeah it sucks, but it's the easiest way and it works for my 5 box team.

Have fun,
Bunny