fixed unlocking upon rollback from client
Merge pull request #2036 from gurbuzali/client-txn-rollback-fix/3.x

fixed unlocking upon rollback from client