I have an Ipython Jupyter kernel running on in an AWS VPN that I tunnel to a port my laptop where I connect to with a browser. I am finding that the kernel dies whenever I lose the tunnel and I have to run my notebook from the beginning.
What is the likely cause of this and how can I prevent it?
It is only the notebook kernels that die, the notebook server stays up.