Add a hack to help make sure WM_QUIT gets received by the primary buffer's thread