don't skip locker, and make the scala-ref configurable