shutdownCapability(): don't bail out after 50 iterations See comments for details.  Fixes assertion failures in stage 3 build which appeared after recent closeMutex() addidion.  May fix other shutdown issues.
shutdownCapability(): don't bail out after 50 iterations
See comments for details.  Fixes assertion failures in stage 3 build
which appeared after recent closeMutex() addidion.  May fix other
shutdown issues.

gcampax/ghc,siddhanathan/ghc,GaloisInc/halvm-ghc,fmthoma/ghc,shlevy/ghc,vikraman/ghc,da-x/ghc,ezyang/ghc,snoyberg/ghc,anton-dessiatov/ghc,hferreiro/replay,forked-upstream-packages-for-ghcjs/ghc,da-x/ghc,spacekitteh/smcghc,forked-upstream-packages-for-ghcjs/ghc,oldmanmike/ghc,green-haskell/ghc,acowley/ghc,fmthoma/ghc,GaloisInc/halvm-ghc,ekmett/ghc,ghc-android/ghc,sgillespie/ghc,oldmanmike/ghc,siddhanathan/ghc,da-x/ghc,snoyberg/ghc,vikraman/ghc,tibbe/ghc,shlevy/ghc,christiaanb/ghc,mcschroeder/ghc,lukexi/ghc-7.8-arm64,lukexi/ghc-7.8-arm64,sgillespie/ghc,nkaretnikov/ghc,tibbe/ghc,mcschroeder/ghc,nathyong/microghc-ghc,bitemyapp/ghc,jstolarek/ghc,mfine/ghc,oldmanmike/ghc,bitemyapp/ghc,hferreiro/replay,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,vikraman/ghc,hferreiro/replay,snoyberg/ghc,wxwxwwxxx/ghc,elieux/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,ezyang/ghc,sgillespie/ghc,fmthoma/ghc,TomMD/ghc,tjakway/ghcjvm,lukexi/ghc,sgillespie/ghc,gcampax/ghc,AlexanderPankiv/ghc,sgillespie/ghc,acowley/ghc,christiaanb/ghc,snoyberg/ghc,hferreiro/replay,green-haskell/ghc,mettekou/ghc,ekmett/ghc,sdiehl/ghc,sgillespie/ghc,mcmaniac/ghc,christiaanb/ghc,anton-dessiatov/ghc,mettekou/ghc,mcschroeder/ghc,ghc-android/ghc,jstolarek/ghc,ryantm/ghc,vikraman/ghc,ml9951/ghc,acowley/ghc,TomMD/ghc,snoyberg/ghc,snoyberg/ghc,ilyasergey/GHC-XAppFix,forked-upstream-packages-for-ghcjs/ghc,mfine/ghc,tjakway/ghcjvm,tjakway/ghcjvm,oldmanmike/ghc,ilyasergey/GHC-XAppFix,gridaphobe/ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,mettekou/ghc,ekmett/ghc,urbanslug/ghc,nushio3/ghc,lukexi/ghc,urbanslug/ghc,ml9951/ghc,wxwxwwxxx/ghc,nkaretnikov/ghc,ilyasergey/GHC-XAppFix,tibbe/ghc,olsner/ghc,ghc-android/ghc,snoyberg/ghc,ml9951/ghc,ghc-android/ghc,da-x/ghc,fmthoma/ghc,GaloisInc/halvm-ghc,TomMD/ghc,shlevy/ghc,christiaanb/ghc,tibbe/ghc,siddhanathan/ghc,nathyong/microghc-ghc,anton-dessiatov/ghc,gcampax/ghc,gridaphobe/ghc,elieux/ghc,nushio3/ghc,fmthoma/ghc,siddhanathan/ghc,ghc-android/ghc,frantisekfarka/ghc-dsi,gcampax/ghc,hferreiro/replay,christiaanb/ghc,jstolarek/ghc,TomMD/ghc,wxwxwwxxx/ghc,mcschroeder/ghc,ml9951/ghc,nushio3/ghc,lukexi/ghc,olsner/ghc,ml9951/ghc,sgillespie/ghc,urbanslug/ghc,jstolarek/ghc,nathyong/microghc-ghc,ryantm/ghc,sdiehl/ghc,AlexanderPankiv/ghc,vTurbine/ghc,mcschroeder/ghc,spacekitteh/smcghc,acowley/ghc,sdiehl/ghc,frantisekfarka/ghc-dsi,AlexanderPankiv/ghc,mcmaniac/ghc,gridaphobe/ghc,ekmett/ghc,nkaretnikov/ghc,nathyong/microghc-ghc,vikraman/ghc,urbanslug/ghc,TomMD/ghc,vTurbine/ghc,forked-upstream-packages-for-ghcjs/ghc,christiaanb/ghc,mfine/ghc,holzensp/ghc,olsner/ghc,wxwxwwxxx/ghc,spacekitteh/smcghc,holzensp/ghc,mfine/ghc,bitemyapp/ghc,acowley/ghc,nkaretnikov/ghc,vTurbine/ghc,lukexi/ghc,da-x/ghc,da-x/ghc,green-haskell/ghc,anton-dessiatov/ghc,anton-dessiatov/ghc,christiaanb/ghc,mettekou/ghc,ezyang/ghc,oldmanmike/ghc,elieux/ghc,fmthoma/ghc,tjakway/ghcjvm,sdiehl/ghc,TomMD/ghc,mettekou/ghc,vTurbine/ghc,frantisekfarka/ghc-dsi,mcmaniac/ghc,mfine/ghc,tjakway/ghcjvm,nkaretnikov/ghc,mcmaniac/ghc,mfine/ghc,forked-upstream-packages-for-ghcjs/ghc,nathyong/microghc-ghc,gridaphobe/ghc,sdiehl/ghc,ezyang/ghc,lukexi/ghc-7.8-arm64,vTurbine/ghc,anton-dessiatov/ghc,gridaphobe/ghc,nathyong/microghc-ghc,vikraman/ghc,ryantm/ghc,spacekitteh/smcghc,tjakway/ghcjvm,green-haskell/ghc,ezyang/ghc,spacekitteh/smcghc,gridaphobe/ghc,AlexanderPankiv/ghc,mettekou/ghc,olsner/ghc,siddhanathan/ghc,ilyasergey/GHC-XAppFix,nushio3/ghc,mcschroeder/ghc,bitemyapp/ghc,gcampax/ghc,gcampax/ghc,vikraman/ghc,gridaphobe/ghc,elieux/ghc,wxwxwwxxx/ghc,ryantm/ghc,vTurbine/ghc,sdiehl/ghc,mfine/ghc,urbanslug/ghc,oldmanmike/ghc,holzensp/ghc,hferreiro/replay,bitemyapp/ghc,mcschroeder/ghc,da-x/ghc,siddhanathan/ghc,nushio3/ghc,ml9951/ghc,wxwxwwxxx/ghc,shlevy/ghc,elieux/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,hferreiro/replay,fmthoma/ghc,AlexanderPankiv/ghc,olsner/ghc,acowley/ghc,nomeata/ghc,olsner/ghc,shlevy/ghc,GaloisInc/halvm-ghc,anton-dessiatov/ghc,ml9951/ghc,AlexanderPankiv/ghc,TomMD/ghc,wxwxwwxxx/ghc,gcampax/ghc,holzensp/ghc,nathyong/microghc-ghc,nkaretnikov/ghc,shlevy/ghc,ezyang/ghc,nushio3/ghc,siddhanathan/ghc,frantisekfarka/ghc-dsi,AlexanderPankiv/ghc,lukexi/ghc-7.8-arm64,ghc-android/ghc,nomeata/ghc,elieux/ghc,nomeata/ghc,acowley/ghc,olsner/ghc,nomeata/ghc,lukexi/ghc,ezyang/ghc,nomeata/ghc,jstolarek/ghc,urbanslug/ghc,nkaretnikov/ghc,urbanslug/ghc,holzensp/ghc,oldmanmike/ghc,ghc-android/ghc,frantisekfarka/ghc-dsi,elieux/ghc,GaloisInc/halvm-ghc,green-haskell/ghc,lukexi/ghc-7.8-arm64,nushio3/ghc,mcmaniac/ghc,ekmett/ghc,tibbe/ghc,mettekou/ghc,ml9951/ghc,sdiehl/ghc