[kernel|gen-tcp-socket] Changed the behaviour of shutdown
[kernel|gen-tcp-socket] Changed the behaviour of shutdown

The behaviour of shutdown was changed to be more compatible with
the "old" gen_tcp (that is, gen_tcp used with inet_backend = inet,
which is *currently* default).

OTP-18080

g-andrade/otp,jj1bdx/otp,dgud/otp,dgud/otp,emacsmirror/erlang,bjorng/otp,dumbbell/otp,rlipscombe/otp,bjorng/otp,rlipscombe/otp,isvilen/otp,vinoski/otp,vinoski/otp,jj1bdx/otp,emacsmirror/erlang,g-andrade/otp,mikpe/otp,rlipscombe/otp,mikpe/otp,dgud/otp,emacsmirror/erlang,potatosalad/otp,dumbbell/otp,emacsmirror/erlang,mikpe/otp,emacsmirror/erlang,bjorng/otp,potatosalad/otp,isvilen/otp,erlang/otp,g-andrade/otp,jj1bdx/otp,dumbbell/otp,vinoski/otp,potatosalad/otp,g-andrade/otp,bjorng/otp,jj1bdx/otp,dumbbell/otp,bjorng/otp,erlang/otp,isvilen/otp,jj1bdx/otp,dumbbell/otp,vinoski/otp,g-andrade/otp,rlipscombe/otp,emacsmirror/erlang,potatosalad/otp,dumbbell/otp,dgud/otp,rlipscombe/otp,isvilen/otp,erlang/otp,potatosalad/otp,potatosalad/otp,mikpe/otp,bjorng/otp,dgud/otp,mikpe/otp,emacsmirror/erlang,erlang/otp,jj1bdx/otp,isvilen/otp,potatosalad/otp,dgud/otp,rlipscombe/otp,bjorng/otp,potatosalad/otp,mikpe/otp,vinoski/otp,emacsmirror/erlang,erlang/otp,g-andrade/otp,g-andrade/otp,isvilen/otp,dumbbell/otp,jj1bdx/otp,mikpe/otp,erlang/otp,erlang/otp,mikpe/otp,dumbbell/otp,isvilen/otp,dumbbell/otp,potatosalad/otp,dgud/otp,erlang/otp,dumbbell/otp,rlipscombe/otp,bjorng/otp,emacsmirror/erlang,isvilen/otp,jj1bdx/otp,dgud/otp,rlipscombe/otp,g-andrade/otp,jj1bdx/otp,isvilen/otp,rlipscombe/otp,erlang/otp,bjorng/otp,mikpe/otp,dgud/otp,g-andrade/otp,potatosalad/otp,emacsmirror/erlang,jj1bdx/otp,mikpe/otp,vinoski/otp,isvilen/otp,erlang/otp,vinoski/otp,rlipscombe/otp,bjorng/otp,vinoski/otp,dgud/otp,vinoski/otp,g-andrade/otp,vinoski/otp