 
   checkIfFinished: ->
     return if @isRunning()
+    delete @abortDebounce
     unless @debouncedEnd
       @debouncedEnd = utils.debounce =>
+        return if @abortDebounce
         @setStarted false
       , 50
     do @debouncedEnd

      unless process.component.isStarted()
        onProcessEnd()
        continue
      process.component.on 'end', onProcessEnd
      process.component.shutdown()

  setStarted: (started) ->

    unless callback
      platform.deprecated 'Calling network.stop() without callback is deprecated'
      callback = ->

    @abortDebounce = true if @debouncedEnd

    return callback null unless @started

