class RorVsWild::Agent

def stop_execution

def stop_execution
  return unless execution = current_execution
  execution.stop
  case execution
  when Execution::Job then queue_job
  when Execution::Request then queue_request
  end
end