Fix close_active_handle() properly
Fix close_active_handle() properly

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