Do not fail when environment.sidekiq.retry is set to false, closes #4545