As long as the bank repays in advance, it must apply for repayment of debts or loans.
It takes at least a week to repay the mortgage in advance, and even months in some places.
The reason is simple: banks pay interest.