Question about deadlock in winmm