KRACOEUS-8556: Refreshing document pessimistic locks to make sure the document is in sync with the db.
Merge pull request #1334 from jamey-rsmart/KRACOEUS-8556

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