Closing a TCP Socket from Jython

Separate problem with your syntax. See this: