[0001-tests.txt](/uploads/2142824c849655d3e830138d938a9b17/0001-tests.txt) Attaching test that demonstrates the problem. It adds sleeps to wineserver so the error is much more likely to occur. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/225#note_1845