set autocommit=1 after calling rollback