Retry on timeout or error