def wait_end interval, timeout
      Timeout.timeout(timeout) do
          exec = Execution::find(@session, @id)
        until exec.status != :running do
          exec = Execution::find(@session, @id)
          sleep interval
        end
      end
      self.output
    end
def wait_end interval, timeout
      Timeout.timeout(timeout) do
          exec = Execution::find(@session, @id)
        until exec.status != :running do
          exec = Execution::find(@session, @id)
          sleep interval
        end
      end
      self.output
    end
http request are done at each loop so, be nice with interval :)