retry: Add constant 10s wait when retrying transient exceptions
They are typically caused by server shutdown and other temporary failures that may take more time than the typical 0-3s delay used by the retry proxy.
This should keep noisy exceptions like AdminShutdown out of the Sentry dashboards.
Depends on !808 (closed).
Migrated from D8224 (view on Phabricator)