                     @taskFilesSandboxUnavailable = true
                     deferred.resolve()
                 )
+            @sandboxTries += 1
 
         deferred
 


        if @taskHistory.attributes.taskUpdates?.length is 0
            @taskHistory.attributes.hasNoTaskUpdates = true
            setTimeout (=> @refresh()), 3 * 1000

        context =
            request: @taskHistory.attributes.task.taskRequest.request

    killTaskTemplate: require './templates/vex/killTask'

    initialize: ->
        @sandboxTries = 0
        @taskFiles = {}
        @taskHistory = new TaskHistory {}, taskId: @options.taskId

