Added timeout and try again if a URL fails