On Windows 10, os.write(fifo, line) executes one time (my receiving process on the named pipe gets it) then it crash getting this:
os.write(fifo, line)
os.write(fifo,