Scala compatibility library for Java - concurrency concerns