commiting with separate connection