Remove port information once closed