retryWhen

Returns an Observable that automatically resubscribes to this Observable if it signals onError and the Observable returned by the handler function emits a value for that specific Throwable.

Please refer to the corresponding RxJava document.