Hi.
i have this problem.
i dont know how to explain this but it is like this

DoFirstCommand();
Wait();
DoSecondCommand();

its like wait for a few seconds after DoFirstCommand before processing the second one... sort of pause.