[fix] Do not try to kill the child if none was spawned