set positions for destructions of the socket/connection