Adding a failure class that defines a retry period.

Thanks for the idea, Sidekiq!