In delete busid from manage_port, close the socket