         data.subgraph = data.subgraph.unshift node.id
       else
         data.subgraph = [node.id]
-      @emit type, data
+      @bufferedEmit type, data
 
     node.component.network.on 'connect', (data) -> emitSub 'connect', data
     node.component.network.on 'begingroup', (data) -> emitSub 'begingroup', data

  # Subscribe to events from all connected sockets and re-emit them
  subscribeSocket: (socket, source) ->
    socket.on 'ip', (ip) =>
      @emit 'ip',
        id: socket.getId()
        type: ip.type
        socket: socket

    # Starting the execution
    @startupDate = new Date unless @startupDate
    @started = true
    @bufferedEmit 'start',
      start: @startupDate

  checkIfFinished: ->
