mpv.cs: close StreamWriter on Quit()