flush every 30 seconds. no matter whats inside the batches/buffers.