$WAL close or wait pls suggest