Retry for java High level rest client. ES version 6.1

Here is what i did, i added maxRetryTimeInMilllis, and then stopped ES, when i rerun the query, somehow i dont see the client retry the same failed query again. this is in single node setup. Basically i am trying out in my ownsetup. How can i test this part if there is built in retry.