dsm/sd: discover in a separate thread
dsm/sd: thread stay alive and handle commands
debuging...
wip