End sockets when target/self socket ends