Release JVM reference to the ALSModel when done.