Prevent duplicate create reference calls and add handling for errors in goroutines
Prevent duplicate create reference calls and add handling for errors in goroutines

pachyderm/pfs,pachyderm/pfs,pachyderm/pfs