This fix previews window staying open after nnn exits, because they inherited open FIFO (in write mode) from parent nnn process, and never close it.