Close consumer socket after use.
Merge pull request #9 from librato/bugfix/close_socket

Close consumer socket after use.