Section 23. The department and its corporate existence shall continue until terminated by law; provided, however, that no such law shall take effect so long as the department shall have bonds outstanding without adequate provision for the complete payment or satisfaction thereof. Upon termination of the department, the title to all funds and other properties owned by it which remain after the payment or satisfaction of all bonds of the department shall vest in the commonwealth. The obligations, debts and liabilities of the department shall be assumed by and imposed upon the commonwealth.