ES5: Correct RestClient.FailureListener behaviour & retry logic

Great, thanks for the clarification.