move stdout buffering to avoid nrpe timeouts