Do not retry on 300 http code, siblings. Improve curl exit code checks.