Improved teardown of process / checking things are running on Jython/IronPython.