What happens to a treaty that was designed to terminate under certain conditions when those conditions are actually met