[feature] Handling Jython's issues calling __del__()