Update retryhandler.py

I think is forgotten to pass the variable 'config'