Issue/441 h2 pessmistic locks

For issue #441, removes use of pessimistic locking