Proper pipe utils write mutex