The loan will usually be at a fixed-rate, while the interest paid on your deposits will fluctuate. So there is still risk that your net interest margin will go negative at some point.
Get a CD or buy treasuries with a matched maturity date. Or if you don’t want that and the savings rate goes below you can pay off any time (check your terms).