in reply to explicitly calling destructor

Since you say you're under mod_perl, you might try this: Untested, but it might at least solve part of your problem.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.