Ensure that kernel is properly shutdown when the ``NotebookRunner`` object is garbage collected.
merge patch for #7