kill child process at exit.