Add number of request re-tries into client