Create Java Pipe multihread read/write