[datastream] Register socket server in a smarter way.

Allow running multiples morse instance on the same computer in
particular. Fix #433.
[datastream] Ignore 'not connected' exception when shutting down socket

From  muratsevim. Fix #432