Note flush method can be called repeatedly