problem with jython and threads