KRACOEUS-8556: Refreshing document pessimistic locks to make sure the document is in sync with the db.

This isn't the most ideal fix, as it doesn't fix the underlying issue.  But will resolve the blocker.
A secondary, less desirable method is check it the lock exists before we remove it.  Unfortunately that means a db hit for every lock the current user has for the current PD.