add helper script to dump backtrace on busy threads
update documentation of purging and deletion switches of dbmail-util
close a significant leak from disconnecting clients
Revert "close a significant leak from disconnecting clients"

This reverts commit 637751051e2d4d96fcdc58c6b43995bec280cea2.
generalise dumpbt.sh script
fix small bug in dumpbt