Several attempts to fetch remote file (due to sometimes bad connection).