KRACOEUS-8580: Close only pess locks owned by current user

We should only clear pessimistic locks owned by the current user. This directly fixes a problem I encountered while debugging this issue, where I received a rice exception that the user was deleting a lock not owned by them.

But I have a suspicion that this will also fix the referenced JIRA, where the user is trying to delete a lock that has already been deleted.
GlobalVariableService please