Use nanomsg instead of std{in,out} for communication between dist and writer.