def stop():
    kernel_client.stop_channels()
    kernel_manager.shutdown_kernel()
    guisupport.get_app_qt().exit()
def stop():
    kernel_client.stop_channels()
    kernel_manager.shutdown_kernel()
    guisupport.get_app_qt().exit()