graphite socket timeout handling