Get timeout to work on avconv/ffmpeg, needed the --foreground option.