Tests: use kill(9, $pid) on win32. Change daemon termination to use kill(9, $pid) on win32, as normally used kill(TERM, $pid) doesn't work with perlfork emulation and causes process hangs.