add the clear function for destory the alljoyn session manager