Why did you not use the RunModeSetLiveCaptureWorkers like in other modules (see https://github.com/inliniac/suricata/blob/master/src/runmode-af-packet.c#L492) ?