UN official says Al-Qaeda remains close to Taliban