It would be good to add the retry on failure for timeouts https://findwork.dev/blog/advanced-usage-python-requests-timeouts-retries-hooks/