MIW,
I'm sorry. I had started a reply to this with the syntax for the wait timer, but for some reason it did not get posted to this thread.
I hope you didn't burn too many cycles in coming up with your solution. I'm glad you were able to figure it out though.
I'm with you that this is a MS fail. You'd think that they could easily correct this if all that is needed is to give a process time to finish.
I spent a lot of time fighting this and I'm glad that you've put it behind you and can move on to other stuff.