Timeout and retry bug fixes. Retry backoff