LSM manager threads, reference count LSM trees while they have entries on
the manager queues.

Attempt to stop a close race condition.