doesn't work with requests==1.2

parameter error with 'max_retries' in requests==1.2.