     .then (res)=>
 
       log "build res:", res
+      @_clearTrialCounts machine
       @eventListener.addListener 'build', machine._id
 
     .timeout ComputeController.timeout


    @stacks   = []
    @machines = []

    if render then @fetchStacks =>
      @info machine for machine in @machines
      @emit "renderStacks"


  errorHandler: (call, task, machine)->


    .then (res)=>

      log "stop res:", res
      @_clearTrialCounts machine
      @eventListener.addListener 'stop', machine._id

    .timeout ComputeController.timeout
