What happens to the parent process if child process is terminated?