Whenever the board of directors of a joint agency and the governing body of each of its members shall by resolution or ordinance determine that the purposes for which the joint agency was formed have been substantially fulfilled and that all bonds issued and all other obligations incurred by the joint agency have been fully paid or satisfied, such board of directors and members may declare the joint agency to be dissolved. On the effective date of such resolution or ordinance the title to all funds and other property owned by the joint agency at the time of such dissolution shall be disbursed to the members of the joint agency according to its bylaws.