     @_requestFactorySingle server, null, path, @_handleLast
 
   list: (isInit = false) =>
-    @_requestsRunning = 0
     @_requestFactory "api/json", if isInit then @_handleListInit else @_handleList
 
   listAliases: =>


  getFolderByName: (folderName, recursive=true) =>
    folderName = @_querystring.unescape(folderName).trim()
    folder = @_folders.where(name: folderName)
    return folder if folder.length > 0
    if (recursive)
      for folder in @_folders
        folder = folder.getFolderByName(folderName)
        return folder if folder and folder.length > 0
    null

  hasFolderByName: (folderName, recursive=true) =>
    @getFolderByName(folderName, recursive) != null

class JenkinsJob
  name: null

  describe: =>
    return if not @_init(@describe)
    job = @_getJob()
    if not job
      return
    server = @_serverManager.getServerByJobName(job.name)
    if !server
      @msg.send "I couldn't find any servers with a job called #{job.name}.  Try `jenkins servers` to get a list."
