WASAPI stops working after pause

With --ao=wasapi and --ao=wasapi:exclusive, pausing the video for more than a few seconds makes it impossible to un-pause. According to Process Explorer, it looks like the WASAPI event thread exits when paused for too long.

OS: Windows 8 64-bit
Audio: Realtek HDA 6.0.1.6772