Create two pipes to implement Bi-directional pipeline