full duplex communication using 2 pipes