Retry HTTP request on server error