Randy,
sorry, your solution is really good, but it doesn't work in my case, because some of my loop - actions include dialogs with the user. And while one of this dialog-including loops is waiting for the answer of the user all the other loops still have to be executed.