@Override
    public void render(OutputStream output) throws IOException {
        int i = 0;
        OperationStatus status;
        try {
            status = operations.take();
            while (status.errorCode != ErrorCode.END_OF_FEED) {
                output.write(toBytes(status.render()));
                if (++i % 5 == 0) {
                    output.flush();
                }
                status = operations.take();
            }
        } catch (InterruptedException e) {
            output.flush();
        }
    }
Reads feed responses from a queue and renders them continuously to the
feeder.

@author Steinar Knutsen
vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedResponse.java