Allow connections to have a configurable retry policy. The policy could include settings such as max retries, max delay between retries, and whether to use linear or exponential back-off.