addons: add missing b_live flag locking (fix #10718)
addons: don't detach thread (fix #10717,#10719)