Make interpreter_cache a property, acquire lock in accessor.

trigger CI