Interestingly, at least how I have zsh configured and don't have bash configured, the behavior of `fg` after suspending these is different.
With zsh when I resume the execution it continues looping. However with bash it resumes for only one more iteration.