b: fix core dump when missing config file

Kill the child before exiting