jython script: resetting unconnected Terminations causes NPE, myValue probably not initialized