KRACOEUS-7536:fixes issues with pessimistic locks not being honored
changes
Merge pull request #1228 from jwillia/KRACOEUS_7536_1

KRACOEUS-7536:fixes issues with pessimistic locks not being honored