Use non-blocking reads on FIFO to stop hang if no writer connected.