       return callback()
     # Tell processes to shut down
     for id, process of @processes
+      unless process.component.isStarted()
+        onProcessEnd()
+        continue
       process.component.on 'end', onProcessEnd
       process.component.shutdown()
 

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

    # Disconnect all connections
    for connection in @connections

        # Add either a Node, an Initial, or an Edge and move on to the next one
        # when done
        this["add#{type}"] add, (err) ->
          return done err if err
          callStack++
          if callStack % 100 is 0
