helper function for retries (#1145)
helper function for retries (#1145)

* helper function for retries

* fix ref

* cancel
google/exposure-notifications-verification-server,google/exposure-notifications-verification-server,google/exposure-notifications-verification-server,google/exposure-notifications-verification-server