modify to catch EPIPE error when socket is closed
modify README.md for gem release