fix resetting retries timeout