Explain DMA buffer flush before close