U.S. will pull out of Afghanistan, if no security agreement reached