Added graphite connection retrying