You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: processing_few_on_shutdown_spec.rb
    path of file: ./repos/karafka/spec/integrations/pro/rails/active_job
    
    the code of the file until where you have to start completion: # frozen_string_liter
    
  def perform(value)
    # We add sleep to simulate work being done, so it ain't done too fast before we shutdown
    if DT[:stopping].empty?
      DT[:stopping] << true
      sleep(5)
    end

    DT[0] << value
  end