President Trump on Wednesday said he was seriously considering pulling the U.S. out of NATO in the latest sign of his growing frustration at Washington's allies, as Iran vowed to restrict access to the Strait of Hormuz for any U.S. ships even after the war's conclusion.