north korea threatened to withdraw from the nuclear non-proliferation treaty if the us resumes its annual military exercise in south korea and if the international atomic energy agency decides that north korea has not complied with its nuclear obligations .