Fix EADDRINUSE crash

[fixes GH-54]