The US has warned that Pyongyang could conduct a seventh nuclear test at any time.