Fix DMA_ROOT_USER and remove close for local case