Fix: GraphiteWriter: reconnect on broken socket.

Fixes #4883