async function processEventWithWorker(row) {
    if (WORKER_TIMEOUT_MAX < 0) {
        return workerExecPool.exec('processEvent', [new Event(row)]);
    } else {
        return workerExecPool.exec('processEvent', [new Event(row)]).timeout(WORKER_TIMEOUT_MAX)
            .catch(err => {
                logger.log(err);
                return { id: row.id, success: false, consoleLogs: `ERROR: ${err.message}` };
            });
    }
}
Adhoc mode events are processed via a worker pool with an optional timeout
@param {*} row