Wait for 5 seconds instead of INFINITE for all threads to abort/exit before continuing with the shutdown sequence. This resolves a deadlock for applications that manage threads in shared libraries that invoke managed callbacks (and as a result attach to the app domain), but are unable to detach (since they are not compiled with libmono).