The contract of insurance shall be terminated if the mortgage is paid in full prior to its maturity.