When node constructor or node.start() fails unexpectedly, server socket must be...

... closed to prevent port remain open.

Fixes #3344