Close sockets when deleting peer