added exeption handler to react on vanished ports