If need be I can wrap them in a struct with a mutex, but I think the read/write operations on the pipes should prevent that.