Added intermediate buffer flushing