Force flush on print to disable output buffering. Fixes buffering issues w.r.t.
socat.