There appears to be an error in the 2.x Javadoc for the retry( n ) operator of Observable. n is referred to as "number of retry attempts before failing" but the accompanying marble diagram shows only a single retry when retry(2) is called.
Does n indicate the total number of subscriptions including the first one?