Turning autocommit mode on