acu161341 added retry logic for retryable failures in generating metadata due to variables not yet being defined because of race conditions
threadful logging