Fix waiting for outlook/powerpoint window to exist for ever (PR #9950)
In outlook and powerpoint, we create a waiting for xx window while pumping com events. However, comtypes.client.PumpEvents now always raises an error due to a bug in comtypes, see enthought/comtypes#187
Until the bug is fixed in comtypes, this will also log a debug warning for time outs, though that's not very problematic IMO.
Fixes #9921