Well, even i don't understand this why it happens. But for me, it at times works and at times it needs a wait of 4/5 seconds. We are definitely not waiting for something that we have to wait for.