Revert "added ability to cancel retries in unit tests"

This reverts commit e82f12263d796bbfa16fe80b62be391e43a23c18.
Accidentally merged a PR that was outdated and should have been deleted.