Fixed graphite server DNS lookup after disconnection

Hello.
Right now graphite clients cache the DNS location of a graphite server (in the `InetSocketAddress` object). The problem is that the network setup of the graphite host may change, and it would be impossible for the client to successfully renew the connection after loosing it. My PR should fix the issue.