Add retrying if can not get the url
add waiting between each retry