Retry if retryable error occurs

Close #9