to add the thread control in pcmcapinject