President Donald Trump has said the US will not resume military strikes on Iran before the midterm elections on November 3.