Improve quality of async timeout for afterAll spec
Improve quality of async timeout for afterAll spec

We found that this test was always passing and had strange interactions
with the ordering of other specs. Rewriting it to explicitly finish the
afterAll after a specified interval makes it fail correctly.

[#73742528]

morsdyce/jasmine,imshibaji/jasmine,danielalexiuc/jasmine,tsaikd/jasmine,morsdyce/jasmine,antialias/jasmine,caravenase/jasmine,martinma4/jasmine,Jahred/jasmine,danielalexiuc/jasmine,deborahleehamel/jasmine,songshuangkk/jasmine,kalins/samples-javascript.jasmine,jnayoub/jasmine,wongterrencew/jasmine,aln787/jasmine,caravenase/jasmine,qiangyee/jasmine,caravenase/jasmine,wongterrencew/jasmine,wongterrencew/jasmine,seanlin816/jasmine,martinma4/jasmine,martinma4/jasmine,mashroomxl/jasmine,kidaa/jasmine,songshuangkk/jasmine,Sanjo/jasmine,deborahleehamel/jasmine,kyroskoh/jasmine,tsaikd/jasmine,marcioj/jasmine,morsdyce/jasmine,WY08271/jasmine,xolvio/jasmine,suvarnaraju/jasmine,faizalpribadi/jasmine,aln787/jasmine,Sanjo/jasmine,seanparmelee/jasmine,Sanjo/jasmine,negherbon/jasmine,James-Dunn/jasmine,Muktesh01/jasmine,seanlin816/jasmine,leahciMic/jasmine,seanlin816/jasmine,yy8597/jasmine,Contagious06/jasmine,tsaikd/jasmine,faizalpribadi/jasmine,faizalpribadi/jasmine,paulcbetts/jasmine,kyroskoh/jasmine,danielalexiuc/jasmine,JoseRoman/jasmine,aaron-goshine/jasmine,kalins/samples-javascript.jasmine,wongterrencew/jasmine,Muktesh01/jasmine,leahciMic/jasmine,imshibaji/jasmine,Jahred/jasmine,rlugojr/jasmine,Muktesh01/jasmine,xolvio/jasmine,GerHobbelt/jasmine,deborahleehamel/jasmine,Contagious06/jasmine,Sanjo/jasmine,James-Dunn/jasmine,Jahred/jasmine,qiangyee/jasmine,leahciMic/jasmine,soycode/jasmine,kidaa/jasmine,tsaikd/jasmine,SimenB/jasmine,mashroomxl/jasmine,James-Dunn/jasmine,caravena-nisum-com/jasmine,aaron-goshine/jasmine,JoseRoman/jasmine,caravena-nisum-com/jasmine,jnayoub/jasmine,qiangyee/jasmine,rlugojr/jasmine,aln787/jasmine,danielalexiuc/jasmine,SimenB/jasmine,deborahleehamel/jasmine,soycode/jasmine,Muktesh01/jasmine,Jahred/jasmine,Sanjo/jasmine,jnayoub/jasmine,Contagious06/jasmine,Muktesh01/jasmine,paulcbetts/jasmine,antialias/jasmine,IveWong/jasmine,wongterrencew/jasmine,WY08271/jasmine,paulcbetts/jasmine,marcioj/jasmine,imshibaji/jasmine,yy8597/jasmine,suvarnaraju/jasmine,denisKaranja/jasmine,faizalpribadi/jasmine,James-Dunn/jasmine,yy8597/jasmine,qiangyee/jasmine,negherbon/jasmine,JoseRoman/jasmine,JoseRoman/jasmine,tsaikd/jasmine,martinma4/jasmine,denisKaranja/jasmine,suvarnaraju/jasmine,soycode/jasmine,seanlin816/jasmine,IveWong/jasmine,antialias/jasmine,seanparmelee/jasmine,imshibaji/jasmine,Contagious06/jasmine,James-Dunn/jasmine,SimenB/jasmine,jnayoub/jasmine,denisKaranja/jasmine,soycode/jasmine,danielalexiuc/jasmine,mashroomxl/jasmine,Contagious06/jasmine,xolvio/jasmine,GerHobbelt/jasmine,Jahred/jasmine,seanlin816/jasmine,aaron-goshine/jasmine,xolvio/jasmine,kidaa/jasmine,rlugojr/jasmine,IveWong/jasmine,denisKaranja/jasmine,kidaa/jasmine,aln787/jasmine,JoseRoman/jasmine,IveWong/jasmine,denisKaranja/jasmine,xolvio/jasmine,soycode/jasmine,kyroskoh/jasmine,deborahleehamel/jasmine,seanparmelee/jasmine,GerHobbelt/jasmine,aln787/jasmine,GerHobbelt/jasmine,songshuangkk/jasmine,leahciMic/jasmine,WY08271/jasmine,caravenase/jasmine,aaron-goshine/jasmine,caravenase/jasmine,rlugojr/jasmine,kalins/samples-javascript.jasmine,yy8597/jasmine,mashroomxl/jasmine,paulcbetts/jasmine,rlugojr/jasmine,marcioj/jasmine,morsdyce/jasmine,paulcbetts/jasmine,martinma4/jasmine,suvarnaraju/jasmine,WY08271/jasmine,suvarnaraju/jasmine,faizalpribadi/jasmine,imshibaji/jasmine,negherbon/jasmine,yy8597/jasmine,GerHobbelt/jasmine,negherbon/jasmine,caravena-nisum-com/jasmine,kidaa/jasmine,SimenB/jasmine,aaron-goshine/jasmine,songshuangkk/jasmine,kalins/samples-javascript.jasmine,leahciMic/jasmine,SimenB/jasmine,seanparmelee/jasmine,antialias/jasmine,kyroskoh/jasmine,mashroomxl/jasmine,songshuangkk/jasmine,morsdyce/jasmine,IveWong/jasmine,seanparmelee/jasmine,kyroskoh/jasmine,negherbon/jasmine,caravena-nisum-com/jasmine,marcioj/jasmine,kalins/samples-javascript.jasmine,qiangyee/jasmine,marcioj/jasmine,WY08271/jasmine,caravena-nisum-com/jasmine,antialias/jasmine,jnayoub/jasmine