commit after flush