Subprocess output is cut without overflow