alsa: Close writer in post_select() on errors/eof.