Hi Oleg. I updated patch to fix the race between wait_task_detached() and wait_task_zombie() by using is_detaching flag. Here's the patch. What problems do remain here?