SONAR-3437 Enable batch mode when saving measures into DB