server: Use thr_kill2 syscall to signal threads on FreeBSD.