LSM manager threads.

* Fix shutdown of manager threads.
* Fix drop work unit implementation.