[FOLD] Use weak_ptr map for close