simplified thread startup wait
don't try stacktracing if foundation not initialized