US President Donald Trump said negotiations with Iran could resume in the coming days and the conflict was close to being over.