Preventing race condition when more than one threads request the same enriched resource