cleanup collection hashes on shutdown