Add support for specifying status codes to retry
Adds example using specific status codes to retry