dnd: make sure dsc and dnd threads are running before shuting them down
dnd: do not accept the same node UUID twice
if the second connection if from the same IP, disconnect the old one