Sometimes the process exits with code 0 without any error thrown at all. I believe this is caused by ffmpeg failing to stream the audio to the file, which can be caused by the youtube audio not being correct. It would be useful if the process didn't randomly quit but threw an error instead