Cleanups; also check for autoCommit first