Determine if an HTTP status code should NOT be retried.
bool isNonRetryableStatus(int statusCode) => _nonRetryableStatusCodes.contains(statusCode);