retry fetching repository images 3 times