[common_test] Allow server to terminate netconf session before rpc-reply
[common_test] Allow server to terminate netconf session before rpc-reply

OTP-10570

ct_netconfc:close_session sometimes returned {error,closed} because
the ssh connection was closed (from the server side) before the
rpc-reply was received by the client. This is normal and can not be
helped. It has been corrected so the return will be 'ok' in this case.

Other error situations will still give {error,Reason}.

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