erts: tcp send should return {error,closed}
erts: tcp send should return {error,closed}

In the scenario where a gen_tcp:recv/2 detected an
error, the next gen_tcp:send should get a closed
error and not a enotconn error as was the case before.

dgud/otp,bsmr-erlang/otp,aboroska/otp,vladdu/otp,jj1bdx/otp,RoadRunnr/otp,saleyn/otp,cobusc/otp,lrascao/otp,vinoski/otp,rlipscombe/otp,aboroska/otp,ferd/otp,RaimoNiskanen/otp,erlang/otp,legoscia/otp,bjorng/otp,electricimp/otp,aboroska/otp,ferd/otp,legoscia/otp,ferd/otp,aboroska/otp,dumbbell/otp,jj1bdx/otp,mikpe/otp,vinoski/otp,erlang/otp,cobusc/otp,getong/otp,vladdu/otp,bsmr-erlang/otp,lrascao/otp,kvakvs/otp,kvakvs/otp,jj1bdx/otp,fenollp/otp,g-andrade/otp,mikpe/otp,dumbbell/otp,rlipscombe/otp,bjorng/otp,rlipscombe/otp,emacsmirror/erlang,emacsmirror/erlang,bsmr-erlang/otp,vladdu/otp,uabboli/otp,dgud/otp,electricimp/otp,saleyn/otp,lrascao/otp,tuncer/otp,dumbbell/otp,getong/otp,rlipscombe/otp,electricimp/otp,isvilen/otp,g-andrade/otp,bsmr-erlang/otp,potatosalad/otp,getong/otp,electricimp/otp,electricimp/otp,bsmr-erlang/otp,RoadRunnr/otp,ferd/otp,g-andrade/otp,RaimoNiskanen/otp,getong/otp,saleyn/otp,fenollp/otp,vinoski/otp,uabboli/otp,kvakvs/otp,vinoski/otp,emacsmirror/erlang,erlang/otp,rlipscombe/otp,erlang/otp,kvakvs/otp,lrascao/otp,getong/otp,vladdu/otp,jj1bdx/otp,RoadRunnr/otp,mikpe/otp,erlang/otp,electricimp/otp,kvakvs/otp,RaimoNiskanen/otp,tuncer/otp,tuncer/otp,dgud/otp,isvilen/otp,tuncer/otp,saleyn/otp,vinoski/otp,kvakvs/otp,cobusc/otp,potatosalad/otp,dgud/otp,uabboli/otp,mikpe/otp,potatosalad/otp,dumbbell/otp,g-andrade/otp,RaimoNiskanen/otp,mikpe/otp,legoscia/otp,cobusc/otp,tuncer/otp,getong/otp,RoadRunnr/otp,dgud/otp,lrascao/otp,aboroska/otp,potatosalad/otp,tuncer/otp,uabboli/otp,bsmr-erlang/otp,vinoski/otp,saleyn/otp,erlang/otp,saleyn/otp,uabboli/otp,bsmr-erlang/otp,ferd/otp,jj1bdx/otp,mikpe/otp,tuncer/otp,vinoski/otp,legoscia/otp,lrascao/otp,electricimp/otp,potatosalad/otp,vladdu/otp,ferd/otp,isvilen/otp,jj1bdx/otp,legoscia/otp,dgud/otp,bjorng/otp,mikpe/otp,uabboli/otp,bsmr-erlang/otp,RoadRunnr/otp,vladdu/otp,g-andrade/otp,g-andrade/otp,potatosalad/otp,RaimoNiskanen/otp,potatosalad/otp,g-andrade/otp,bjorng/otp,emacsmirror/erlang,aboroska/otp,rlipscombe/otp,rlipscombe/otp,fenollp/otp,kvakvs/otp,jj1bdx/otp,isvilen/otp,dumbbell/otp,cobusc/otp,ferd/otp,bjorng/otp,dumbbell/otp,dumbbell/otp,RaimoNiskanen/otp,emacsmirror/erlang,isvilen/otp,erlang/otp,isvilen/otp,mikpe/otp,legoscia/otp,vladdu/otp,lrascao/otp,vladdu/otp,RoadRunnr/otp,dumbbell/otp,emacsmirror/erlang,potatosalad/otp,emacsmirror/erlang,getong/otp,lrascao/otp,RoadRunnr/otp,RaimoNiskanen/otp,vinoski/otp,lrascao/otp,fenollp/otp,getong/otp,uabboli/otp,saleyn/otp,RoadRunnr/otp,bjorng/otp,kvakvs/otp,potatosalad/otp,aboroska/otp,fenollp/otp,erlang/otp,ferd/otp,dumbbell/otp,cobusc/otp,aboroska/otp,rlipscombe/otp,dgud/otp,ferd/otp,g-andrade/otp,jj1bdx/otp,vladdu/otp,fenollp/otp,isvilen/otp,mikpe/otp,dgud/otp,dgud/otp,potatosalad/otp,getong/otp,emacsmirror/erlang,bsmr-erlang/otp,electricimp/otp,emacsmirror/erlang,legoscia/otp,uabboli/otp,bjorng/otp,cobusc/otp,emacsmirror/erlang,erlang/otp,fenollp/otp,fenollp/otp,kvakvs/otp,saleyn/otp,dgud/otp,mikpe/otp,dumbbell/otp,RaimoNiskanen/otp,bjorng/otp,uabboli/otp,isvilen/otp,vinoski/otp,bjorng/otp,rlipscombe/otp,rlipscombe/otp,vinoski/otp,legoscia/otp,bjorng/otp,RoadRunnr/otp,saleyn/otp,RaimoNiskanen/otp,electricimp/otp,aboroska/otp,fenollp/otp,cobusc/otp,jj1bdx/otp,isvilen/otp,g-andrade/otp,tuncer/otp,tuncer/otp,jj1bdx/otp,isvilen/otp,g-andrade/otp,legoscia/otp,getong/otp,erlang/otp