After what action by a state are its obligations under a treaty considered terminated