GC now works, connection restart does not.

So, I had to revise my notion of python's variable scope, and with that newly
gained insight (a nice word for brain damage in this case) supports the result
that shell garbage collection now works as expected.