Add a function to flush all accumulated buffers.
v0.5.8