it will retry 3 times when fetch url fails.