Use a condition variable in LSM worker threads to sleep when there is no work to do

@agorrod, can you please review?