Statistics flushing