AFAIK this bug should have been solved in 1.0.9. But it isn't. So, that's about changing the lines which run "pkill -U (distccuid)" from cmd() to spawn(), or something similar.
the patch from bug #59681 might have fixed this issue, please test and let me know
fixed by #66083