Disable AutoCommit, remove debug key on Cleanup