Maybe Nato can get the current Afghan authorities to sign off on a 2017-2024 time frame, but I doubt that will last. GWB&co tried to plan on being in Iraq forever, but Malike soon told the US to start slowly leaving starting Dec 31, 2008.
As it is, the USA is unwilling to commit the resources to win in Afghanistan, so staying in Afghanistan buys is more human misery for the Afghan people. As the USA and Nato think they are playing Wachamole with only the Taliban, when, in fact, that its the ordinary non-taliban majority population that is more inconvenienced and put in un-neccasary danger.
Go watch the documentary Restrepo. There is no "winning" in afghanistan. Only a fool would believe such a thing.