Add a more intricate retryWhen example, with both exception type check and retry count