ZEPPELIN-106 Make getSingletonScriptEngine thread safe