Fix deadlock in Service::RemoveAllComments().

Fixes #5721