Iran is considering temporarily halting shipping in the Strait of Hormuz in order to avoid harming diplomatic contacts.