The U.S. was supposed to leave Afghanistan by 2017. Now it might take decades.