presence prototype working
pjsip: joining thread in destructor