Have the LSM worker track whether it found work to figure out whether to sleep or keep spinning.