Revert "devdiscover: wrong use of threads::shared::share"

This reverts commit e0b66b8faf95d0c69cfb1cc4f04702642b51747f.