Turns out writes to pipes are atomic, so a mutex here is just extra overhead

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>