Prevent connection retrying happening repeatedly.
Detect errors and incomplete streams by looking at ffmpeg output.