There are 2 different types of title insurance policies.
When you buy a property you receive an OWNER’S title insurance policy that gives you clear title to the property forever. (Typically paid for by the seller, but always negotiable)
When you get a loan,either at time of purchase OR when you refi, you are providing the lender with a LENDER’S title insurance policy. Lender needs to have clear title.