pid validations on sidekiq tasks