repo sync: try again and again due to network unstable