Make sure to not leave hanging children processes if the parent is killed