fix mpr_dag_getwhite error when destroyed. should destroy the dag only after all getwhite return.