fix up destructor, to avoid thread crashes on close.

add secon publisher to demo capabilities