added max_retries=5 to requests