Close the tcp socket on Errno::EPIPE

This helps the graphite reporter to recover from an unavailable graphite carbon daemon. Without this it keeps spitting out EPIPEs even if the carbon daemon got back online.