Scripting Console Class Instance Destruction Incomplete

I have a class that opens a socket and I am running this in the script console.
When I hit the Clear button or the Reset button, I can no longer access the class instance and I get a name error when I try to in the shell. The problem is that the socket connection remains open and locks up the device I am connecting to.

I use the del and exit functions in the class to ensure the connection is closed, but I think the script console isn’t properly disposing of the object instance.

Can other confirm this is a problem?

Thanks, we’ll look into it.