coding stop function in pcmcap_capper