I found that the thread server_job() can not be killed by using snd_pcm_close (). The code in snd_pcm_direct_server_discard() is disabled, and then it can not send signal to kill the thread. Why the code is disabled? Is there any bugs if I enable the code?