Py3 fix, hopefully fix the 'Max retries exceeded' error