committing changes with connection errors