erts: Fix hanging in fd_stop on windows
erts: Fix hanging in fd_stop on windows

When reaping ports the flushReplyEvent is not signalled and therefore
an errornous loop check caused the emulator to hang forever during
shutdown.

GinjaNinja32/otp,saleyn/otp,g-andrade/otp,vladdu/otp,isvilen/otp,theom/otp,bernardd/otp,kvakvs/otp,jemsbhai/otp,basho/otp,gjaldon/otp,sitexa/otp,jamesruan/otp,psyeugenic/otp,platinumthinker/otp,vinoski/otp,GinjaNinja32/otp,saleyn/otp,lantti/otp,legoscia/otp,johanclaesson/otp,msantos/otp,RJ/otp,RGafiyatullin/otp,erlang/otp,saleyn/otp,stolen/otp,lemenkov/otp,paladim/otp,falkevik/otp,GinjaNinja32/otp,stolen/otp,mikpe/otp,hairyhum/otp,tuncer/otp,bjorng/otp,cobusc/otp,ader1990/otp,emile/otp,RichMorin/otp,RGafiyatullin/otp,falkevik/otp,marquisthunder/otp,ahmedshafeeq/otp,haguenau/otp,tuncer/otp,cobusc/otp,schlagert/otp,lrascao/otp,getong/otp,massemanet/otp,GinjaNinja32/otp,benoitc/otp-1,paulcager/otp,release-project/otp,stolen/otp,bernardd/otp,VincentHHL/otp,paulcager/otp,stolen/otp,matwey/otp,aboroska/otp,RGafiyatullin/otp,GinjaNinja32/otp,marquisthunder/otp,sitexa/otp,jemsbhai/otp,ferd/otp,bugs-erlang-org/otp,haguenau/otp,RJ/otp,riverrun/otp,c-rack/otp,potatosalad/otp,benoitc/otp-1,NOMORECOFFEE/otp,fenollp/otp,Teino1978-Corp/otp,basho/otp,NOMORECOFFEE/otp,emacsmirror/erlang,vinoski/otp,Teino1978-Corp/otp,hairyhum/otp,haguenau/otp,c-rack/otp,RichMorin/otp,jamesruan/otp,Teino1978-Corp/erlang-otp,msantos/otp,benoitc/otp-1,jamesruan/otp,weisslj/otp,rlipscombe/otp,vic/otp,lemenkov/otp,bernardd/otp,hairyhum/otp,mikpe/otp,kvakvs/otp,paladim/otp,dgud/otp,Teino1978-Corp/otp,vic/otp,ahmedshafeeq/otp,schlagert/otp,Teino1978-Corp/erlang-otp,bsmr-erlang/otp,platinumthinker/otp,fenollp/otp,electricimp/otp,theom/otp,mikpe/otp,sammoth-wazoku/otp,theom/otp,NOMORECOFFEE/otp,ferd/otp,jj1bdx/otp,beni55/otp,ader1990/otp,sammoth-wazoku/otp,electricimp/otp,palas/otp,ferd/otp,lianghaivv/otp,RaimoNiskanen/otp,RJ/otp,mikpe/otp,platinumthinker/otp,NOMORECOFFEE/otp,GinjaNinja32/otp,yangchengjian/otp,jemsbhai/otp,schlagert/otp,sammoth-wazoku/otp,VincentHHL/otp,isvilen/otp,bsmr-erlang/otp,platinumthinker/otp,legoscia/otp,msantos/otp,weisslj/otp,jinshana/otp,vinoski/otp,RoadRunnr/otp,enikki/otp,vladdu/otp,Teino1978-Corp/otp,awetzel/otp,platinumthinker/otp,g-andrade/otp,mujiatong/otp,RaimoNiskanen/otp,cnbin/otp,benoitc/otp-1,sdebnath/otp,dumbbell/otp,tuncer/otp,dgud/otp,weisslj/otp,electricimp/otp,marquisthunder/otp,jamesruan/otp,g-andrade/otp,weisslj/otp,lrascao/otp,fenollp/otp,dumbbell/otp,johanclaesson/otp,emacsmirror/erlang,paladim/otp,dgud/otp,potatosalad/otp,ferd/otp,vinoski/otp,ahmedshafeeq/otp,lianghaivv/otp,goertzenator/otp,getong/otp,paladim/otp,electricimp/otp,dumbbell/otp,kvakvs/otp,Teino1978-Corp/otp,krishnakumar4a4/otp,emile/otp,matwey/otp,lightcyphers/otp,Teino1978-Corp/erlang-otp,emile/otp,goertzenator/otp,isvilen/otp,dgud/otp,beni55/otp,jinshana/otp,lemenkov/otp,stolen/otp,bernardd/otp,vic/otp,entropiae/otp,Teino1978-Corp/otp,c-rack/otp,RGafiyatullin/otp,goertzenator/otp,lhslll/otp,yangchengjian/otp,falkevik/otp,beni55/otp,ahmedshafeeq/otp,falkevik/otp,sdebnath/otp,neeraj9/otp,mujiatong/otp,mujiatong/otp,goertzenator/otp,derek121/otp,lemenkov/otp,haguenau/otp,saleyn/otp,lrascao/otp,haguenau/otp,paladim/otp,paulcager/otp,paulcager/otp,lrascao/otp,ader1990/otp,paulcager/otp,lightcyphers/otp,krishnakumar4a4/otp,cnbin/otp,goertzenator/otp,lhslll/otp,platinumthinker/otp,RJ/otp,lhslll/otp,erlang/otp,erlang/otp,palas/otp,basho/otp,bsmr-erlang/otp,lantti/otp,RoadRunnr/otp,massemanet/otp,johanclaesson/otp,klarna/otp,theom/otp,erlang/otp,lucafavatella/otp,Teino1978-Corp/otp,bernardd/otp,bsmr-erlang/otp,palas/otp,emile/otp,release-project/otp,bsmr-erlang/otp,mujiatong/otp,uabboli/otp,VincentHHL/otp,sitexa/otp,ader1990/otp,lianghaivv/otp,isvilen/otp,isvilen/otp,RaimoNiskanen/otp,g-andrade/otp,release-project/otp,vinoski/otp,falkevik/otp,gjaldon/otp,marquisthunder/otp,falkevik/otp,RJ/otp,tuncer/otp,gjaldon/otp,vic/otp,sdebnath/otp,lucafavatella/otp,johanclaesson/otp,emacsmirror/erlang,RichMorin/otp,entropiae/otp,ahmedshafeeq/otp,RoadRunnr/otp,riverrun/otp,kvakvs/otp,RJ/otp,vladdu/otp,schlagert/otp,bernardd/otp,entropiae/otp,klarna/otp,ader1990/otp,getong/otp,bernardd/otp,RaimoNiskanen/otp,aboroska/otp,lucafavatella/otp,saleyn/otp,c-rack/otp,potatosalad/otp,kvakvs/otp,c-rack/otp,klarna/otp,uabboli/otp,potatosalad/otp,basho/otp,ahmedshafeeq/otp,riverrun/otp,VincentHHL/otp,jj1bdx/otp,cnbin/otp,lucafavatella/otp,bsmr-erlang/otp,bugs-erlang-org/otp,potatosalad/otp,palas/otp,entropiae/otp,neeraj9/otp,ader1990/otp,cobusc/otp,kvakvs/otp,bsmr-erlang/otp,bugs-erlang-org/otp,schlagert/otp,legoscia/otp,sammoth-wazoku/otp,Teino1978-Corp/otp,saleyn/otp,bsmr-erlang/otp,krishnakumar4a4/otp,hairyhum/otp,bjorng/otp,yangchengjian/otp,rlipscombe/otp,mikpe/otp,c-rack/otp,RaimoNiskanen/otp,NOMORECOFFEE/otp,vic/otp,derek121/otp,derek121/otp,cobusc/otp,falkevik/otp,enikki/otp,bjorng/otp,sdebnath/otp,rlipscombe/otp,theom/otp,derek121/otp,ahmedshafeeq/otp,jj1bdx/otp,bjorng/otp,cobusc/otp,erlang/otp,sdebnath/otp,neeraj9/otp,sammoth-wazoku/otp,lucafavatella/otp,awetzel/otp,lrascao/otp,matwey/otp,aboroska/otp,aboroska/otp,g-andrade/otp,riverrun/otp,Teino1978-Corp/erlang-otp,RoadRunnr/otp,lantti/otp,vladdu/otp,bernardd/otp,sammoth-wazoku/otp,neeraj9/otp,getong/otp,schlagert/otp,marquisthunder/otp,entropiae/otp,ahmedshafeeq/otp,marquisthunder/otp,lightcyphers/otp,mikpe/otp,dumbbell/otp,enikki/otp,lianghaivv/otp,lucafavatella/otp,GinjaNinja32/otp,entropiae/otp,weisslj/otp,release-project/otp,matwey/otp,emacsmirror/erlang,cnbin/otp,krishnakumar4a4/otp,psyeugenic/otp,palas/otp,mujiatong/otp,weisslj/otp,potatosalad/otp,jj1bdx/otp,massemanet/otp,yangchengjian/otp,cnbin/otp,jj1bdx/otp,sitexa/otp,electricimp/otp,johanclaesson/otp,RJ/otp,enikki/otp,fenollp/otp,cobusc/otp,RichMorin/otp,lrascao/otp,emacsmirror/erlang,jamesruan/otp,cnbin/otp,vladdu/otp,vinoski/otp,fenollp/otp,bugs-erlang-org/otp,entropiae/otp,lemenkov/otp,riverrun/otp,getong/otp,cobusc/otp,uabboli/otp,dgud/otp,beni55/otp,potatosalad/otp,RoadRunnr/otp,cnbin/otp,g-andrade/otp,johanclaesson/otp,derek121/otp,beni55/otp,potatosalad/otp,paladim/otp,theom/otp,release-project/otp,klarna/otp,vladdu/otp,bsmr-erlang/otp,awetzel/otp,jamesruan/otp,electricimp/otp,neeraj9/otp,riverrun/otp,benoitc/otp-1,basho/otp,c-rack/otp,jinshana/otp,bjorng/otp,entropiae/otp,gjaldon/otp,RGafiyatullin/otp,psyeugenic/otp,lhslll/otp,ferd/otp,bjorng/otp,enikki/otp,sammoth-wazoku/otp,jj1bdx/otp,dgud/otp,goertzenator/otp,schlagert/otp,lightcyphers/otp,VincentHHL/otp,release-project/otp,lightcyphers/otp,paladim/otp,msantos/otp,klarna/otp,neeraj9/otp,bjorng/otp,awetzel/otp,massemanet/otp,neeraj9/otp,uabboli/otp,matwey/otp,dgud/otp,benoitc/otp-1,stolen/otp,uabboli/otp,lightcyphers/otp,krishnakumar4a4/otp,fenollp/otp,VincentHHL/otp,benoitc/otp-1,mujiatong/otp,beni55/otp,getong/otp,goertzenator/otp,dgud/otp,basho/otp,lantti/otp,ferd/otp,Teino1978-Corp/erlang-otp,release-project/otp,jemsbhai/otp,emacsmirror/erlang,kvakvs/otp,legoscia/otp,basho/otp,electricimp/otp,bugs-erlang-org/otp,lrascao/otp,lucafavatella/otp,mikpe/otp,GinjaNinja32/otp,weisslj/otp,legoscia/otp,hairyhum/otp,haguenau/otp,klarna/otp,enikki/otp,bjorng/otp,tuncer/otp,uabboli/otp,vladdu/otp,emile/otp,msantos/otp,lhslll/otp,emacsmirror/erlang,Teino1978-Corp/erlang-otp,saleyn/otp,mujiatong/otp,uabboli/otp,jinshana/otp,fenollp/otp,lhslll/otp,sitexa/otp,electricimp/otp,palas/otp,dgud/otp,RaimoNiskanen/otp,jinshana/otp,uabboli/otp,gjaldon/otp,msantos/otp,saleyn/otp,sitexa/otp,erlang/otp,johanclaesson/otp,bugs-erlang-org/otp,weisslj/otp,NOMORECOFFEE/otp,lianghaivv/otp,emile/otp,lantti/otp,NOMORECOFFEE/otp,klarna/otp,dumbbell/otp,psyeugenic/otp,g-andrade/otp,hairyhum/otp,ferd/otp,erlang/otp,vinoski/otp,fenollp/otp,getong/otp,jj1bdx/otp,krishnakumar4a4/otp,ferd/otp,theom/otp,marquisthunder/otp,klarna/otp,theom/otp,stolen/otp,g-andrade/otp,ader1990/otp,RaimoNiskanen/otp,jamesruan/otp,psyeugenic/otp,msantos/otp,platinumthinker/otp,awetzel/otp,palas/otp,getong/otp,mikpe/otp,massemanet/otp,derek121/otp,gjaldon/otp,isvilen/otp,getong/otp,dumbbell/otp,sammoth-wazoku/otp,bernardd/otp,paulcager/otp,rlipscombe/otp,RichMorin/otp,krishnakumar4a4/otp,lhslll/otp,aboroska/otp,marquisthunder/otp,RJ/otp,vic/otp,tuncer/otp,RaimoNiskanen/otp,sdebnath/otp,enikki/otp,johanclaesson/otp,tuncer/otp,legoscia/otp,psyeugenic/otp,emacsmirror/erlang,jemsbhai/otp,paladim/otp,cobusc/otp,ahmedshafeeq/otp,release-project/otp,lianghaivv/otp,kvakvs/otp,VincentHHL/otp,Teino1978-Corp/erlang-otp,falkevik/otp,sitexa/otp,jinshana/otp,yangchengjian/otp,gjaldon/otp,lantti/otp,lianghaivv/otp,sitexa/otp,tuncer/otp,schlagert/otp,legoscia/otp,cnbin/otp,Teino1978-Corp/erlang-otp,paulcager/otp,awetzel/otp,jj1bdx/otp,mujiatong/otp,lemenkov/otp,massemanet/otp,fenollp/otp,RGafiyatullin/otp,legoscia/otp,haguenau/otp,jamesruan/otp,goertzenator/otp,jinshana/otp,riverrun/otp,lrascao/otp,isvilen/otp,riverrun/otp,lucafavatella/otp,c-rack/otp,aboroska/otp,jemsbhai/otp,goertzenator/otp,legoscia/otp,vic/otp,RaimoNiskanen/otp,psyeugenic/otp,erlang/otp,vinoski/otp,aboroska/otp,matwey/otp,haguenau/otp,weisslj/otp,bjorng/otp,vladdu/otp,awetzel/otp,aboroska/otp,dumbbell/otp,falkevik/otp,psyeugenic/otp,vinoski/otp,rlipscombe/otp,kvakvs/otp,massemanet/otp,gjaldon/otp,emacsmirror/erlang,jemsbhai/otp,benoitc/otp-1,lantti/otp,lrascao/otp,ferd/otp,basho/otp,derek121/otp,stolen/otp,rlipscombe/otp,beni55/otp,bugs-erlang-org/otp,RoadRunnr/otp,massemanet/otp,palas/otp,yangchengjian/otp,lantti/otp,RichMorin/otp,basho/otp,matwey/otp,mikpe/otp,paulcager/otp,mikpe/otp,matwey/otp,enikki/otp,erlang/otp,beni55/otp,tuncer/otp,aboroska/otp,RichMorin/otp,bjorng/otp,RoadRunnr/otp,lightcyphers/otp,platinumthinker/otp,lianghaivv/otp,matwey/otp,isvilen/otp,neeraj9/otp,isvilen/otp,emacsmirror/erlang,RGafiyatullin/otp,derek121/otp,saleyn/otp,dumbbell/otp,jj1bdx/otp,rlipscombe/otp,awetzel/otp,sdebnath/otp,msantos/otp,RoadRunnr/otp,rlipscombe/otp,NOMORECOFFEE/otp,emile/otp,RoadRunnr/otp,getong/otp,vinoski/otp,potatosalad/otp,sdebnath/otp,dumbbell/otp,jemsbhai/otp,RichMorin/otp,yangchengjian/otp,hairyhum/otp,hairyhum/otp,dgud/otp,yangchengjian/otp,lhslll/otp,g-andrade/otp,uabboli/otp,rlipscombe/otp,lightcyphers/otp,emile/otp,jj1bdx/otp,massemanet/otp,bugs-erlang-org/otp,dumbbell/otp,lemenkov/otp,krishnakumar4a4/otp,rlipscombe/otp,erlang/otp,g-andrade/otp,RGafiyatullin/otp,electricimp/otp,VincentHHL/otp,emile/otp,isvilen/otp,lemenkov/otp,vladdu/otp,release-project/otp,potatosalad/otp,vic/otp,jinshana/otp,ader1990/otp