Added provider __repr__ and retry on connection errors