I thought that this was the problem for page not loading in Jenkins, but it seems the wait is ok. I will test this some more and then going to close it.