TLS Dist: Handle ssl_error and close ssl socket
TLS Dist: Handle ssl_error and close ssl socket

In some instances, restarting a node causes a fatal SSL error on
the other nodes which isn't handled leaving the socket open. Eventually
the nodes will net tick timeout but the node being restarted never
comes back to life

By handling the fatal error and closing the socket, the restarting
node can restart successfully even when the ssl error occurs

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