Update retryhandler.py

I think one has forgotten to pass the variable 'config'.