finishing mem_ctl