OK, that's exactly what happened -- the first time through, I was getting more than I wanted, so I sigint'd slapcat and reran as slapcat | grep the second time around (which I did see to completion). Wow, this explains a lot of weird shutdown behavior. I would have thought it safe to use read-only tools with impunity, but dangling locks like this prove otherwise...