Added retry count to configuration of connection

I'm not happy with the way this is being tested 
but the connection has no access to the retry count
after initialisation without a huge chain of 
__getobj__ and instance_variable_get method calls