Open fifo rdwr to avoid deadlocks