Simplify memory management in LSM manager threads.