ref: Lock resolve_ref tasks to avoid duplicate failures
ref: Lock resolve_ref tasks to avoid duplicate failures

This resolves a race condition which was causing duplicate FailureReason's to end up in the database for unresolvable_ref. A follow up will be needed to cleanup the bad data and add an additional constraint.

getsentry/zeus,getsentry/zeus,getsentry/zeus,getsentry/zeus