Switch to using manual commits for sql transactions