syncbase.js: runInBatch retries and tweaks for consistency

Change-Id: I530863702ae876882296d49c9cd34e43f79bca64
2 files changed