- Fix #357 use kill() instead of waitpid().