Retrying before timeout

We had an case when would be good to retry query before timeout. I have added `:retries` attribute to set how many times we retry query before timeout. I will it will be fine in many cases.