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.