do rollback instead of commit when switching from non autocommit mode to autocommit mode, I think implicit rollback is better than implicit commit.