The corporation shall cause an attested copy of the decree of the court to be filed in the office of the secretary of state forthwith after it is made; and when such copy has been so filed, the corporate existence of the corporation shall terminate in accordance with the terms of such decree.