Tenacity is being used for retries, but should do some more tests to confirm this it's working correctly.