Output bufferring for long running tasks