Several user have asked how to programatically end a session in Google Colab, the common answer is to use
!kill -9 -1
But it only make the sessio