Add background thread sleep retry in test/unit/hpa_background_thread

Under high concurrency / heavy test load (e.g. using run_tests.sh), the
background thread may not get scheduled for a longer period of time.  Retry 100
times max before bailing out.
1 file changed