revert this change on other tests too. On MacOS and Linux, we see messages in the console, even after the window is closed. We should fine an other solution for this stupid behavior of Windows.