Exit properly from EADDRINUSE.
Merge pull request #1316 from rjackson/exit-properly

Exit properly from EADDRINUSE.