Ensure the the hostname -> ip-address DNS resolution is done every time the graphite socket is recreated