link: fix del_connector() socket cleanup