ffmpeg: avformat/hls: retry connect for segment