Obama also stressed that U.S. and international military intervention in Afghanistan is " not open-ended and must be evaluated toward measurable and achievable goals within the next 18 to 24 months , " a readout of the conference said .