People inspect the area after an explosion near a school in Kabul, Afghanistan in May. The CIA faces challenges in gathering intelligence about threats in Afghanistan once the U.S. military presence there ends. The CIA, which has been at the heart of the 20-year U.S. presence in Afghanistan, soon will lose bases in the country from where it closely has monitored the Taliban and other groups.