If you need the citation:
1003.2(p) Refinancing means a closed-end mortgage loan or an open-end line of credit in which a new, dwelling-secured debt obligation satisfies and replaces an existing, dwelling-secured debt obligation by the same borrower.
Doesn't sound like a refi unless you are in New York and the below applies:
Comment 2. New York State consolidation, extension, and modification agreements. Where a transaction is completed pursuant to a New York State consolidation, extension, and modification agreement and is classified as a supplemental mortgage under New York Tax Law section§ 255, such that the borrower owes reduced or no mortgage recording taxes, and where, but for the agreement, the transaction would have met the definition of a refinancing under § 1003.2(p), the transaction is considered a refinancing under § 1003.2(p). See also comment 2(d)-2.ii.