Retry connections to Graphite if it failed, close #2440