update test-cae to retry garbage collection / checking for collected threads until one or more is detected as collected