API call - implement retry mechanism into python requests library / try-except using Python requests module 10-31