Yes, it happened to me too, many times.
I think that can easily be avoid by calling this line after a player robbs a shop:
player.SetAnim(0,29);
The animation ID 29 of group 0 is the one that removes any animation you have set. (and not anim ID 0 from group 0)
At least it stopped all animations I have tried.
Anyway, I noticed that: when a player is frozen when starts to rob something, then setting the anim 0 group 0 after/before unfreezing it, will cause a loop for that animation.
So... I think if the owner will unfreeze the player before (or after, depends on how he used it) setting the animation, it will work fine, without a loop, so the bug will not happen anymore.