Currently, all of the functions surrounding dimension and fact table creation are not thread safe, and if invoked in this manner would raise IntegrityError when the "loser" tries to create a record, essentially losing that record. We should make all of these operations thread safe, as to avoid this.