Add autocommit to transaction