avformat/hls: retry connect for segment