Fix for Jython Shell window closing during a reset. [1281]