CDB-4267 Add disabling by config of batch api a bit more robust