fixed unlocking upon rollback from client