substack/seaport — pull request #17 by jessetane (2012-11-11 00:37:20+00:00)
Title: Epipe error

First, thanks for this awesome library. I get uncaught EPIPE errors if I try to disconnect more than one client at a time though. Even if the errors are caught, the disconnecting service that threw the error is not freed from the registry properly.

Through trial and error I was able to make an example that demonstrates the issue: ```example/epipe_error``` and a quick fix that at least lets the example work properly.

This code probably shouldn't be merged though since I didn't know how to write a proper test and I don't totally understand why the issue even occurs in the first place! Hopefully it helps through...