Backport sidekiq pro stuff