Iranian security official says path for talks with U.S. not closed