Inference on Scala for Models trained on v1.0 is very slow

I believe it’s due to the removing of dispose() in GC: Fixing thread safety issues in Scala library

I’m trying to do a “real” fix.