Add retry for Otel build operation.