Wait for writes to drain before stopping.
Don't init stats twice.