Properly parse Retry values in the config