"While no ally wants to stay in Afghanistan longer than necessary, we will not leave before the time is right," Stoltenberg told a press conference.