Fix cloudsearch2 httpadapter initialization during commits.