Cleanup completeness before flush