Making session manager not rely on Perl's flaky destructor implementation.
Authored by: ceetee 2007-08-07
Parent: [r318]
Child: [r320]