Proposed fix for #669 Persistent connections in Graphite implementation are not robust enough
Fix test setup so close on the output stream also closes the socket

Per Socket#getOutputStream(): Closing the returned OutputStream will
close the associated socket.
Don't need to explicitly flush
Merge pull request #675 from dropwizard/graphite-safe-close

Harden graphite persistent connections