             console.log(msg)
             throw new Error(msg)
         @clientGroups = []
+        @stats = new StatProvider()
         clientsPerGroup = @clientCount/@appInstanceCount
         browsersPerGroup = @browserCount/@appInstanceCount
         logger("clientsPerGroup #{clientsPerGroup}")

            clientGroupOptions.clientCount = clientsPerGroup
            clientGroupOptions.browserCount = browsersPerGroup
            clientGroupOptions.groupName = "#{@processId}_g#{i}"
            clientGroup = new ClientGroup(clientGroupOptions)
            @clientGroups.push(clientGroup)
        # set up a timeout checker per process

    opts.eventDescriptors = eventDescriptors
    clientProcess = new ClientProcess(opts)    
    intervalObj = setInterval(()->
        console.log JSON.stringify(clientProcess.stats)
        if clientProcess.isStopped()
            console.log "stopped"
            clearInterval(intervalObj)
