schedule async flush

allows threadsafe flush from background threads