Moved autocommit (finally block)