SigSession: Fixed std::thread joining