in reply to nested subs cause DESTROY block to not get hit
In a prior node about GC, it was mentioned that closures aren't collected properly. You're constructing a (nested) closure there; perhaps this is what is getting in your way.
In Section
Seekers of Perl Wisdom