added retries to opcounters.js because it's flaky too