Many banks that hold HELOC liens simply ask you to pay a $100-200 fee to do a subordination to your new primary loan. You should be able to refi your primary loan without closing the HELOC.