class Sidekiq::Processor

def terminate(wait = false)

def terminate(wait = false)
  @done = true
  return unless @thread
  @thread.value if wait
end