Why does the condition_variable destructor hang this program? I have a program, which I distilled into this short MRE: