title: Configure/Enable GeoSPARQL plugin through RDF4J API
body: <p>I am trying to automate the creation of GraphDB repos which must also have the GeoSPARQL plugin enabled. To this end, I am sending 2 INSERT statements, the first for configuring the index and accuracy and the second statement for enabling the plugin. 
  However the conn.prepareUpdate(QueryLanguage.SPARQL, enablePluginStatement).execute() operation "seems" to run asychronously. Instead of waiting until the indexing operation is complete (as it happens when running the same INSERT query from the Workbench) it almost immediately proceeds to the following statement which is to shutdown the repository.
  When I execute the same code through the Netbeans debugger the same single statement takes much more time to complete and does complete the indexing properly.
  Any insight on this or a similar issue? </p>
  
  <pre><code>    26609 [main] INFO  com.ontotext.config.AbstractParameter  - Configured parameter 'deduplicate.construct' to default value 'true' 
      26610 [main] INFO  com.ontotext.config.AbstractParameter  - Configured parameter 'reuse.vars.in.subselects' to default value 'false' 
      26691 [main] INFO  com.ontotext.trree.monitorRepository.MonitorRepositoryConnection  - Incoming update: 
  PREFIX : &lt;http://www.ontotext.com/plugins/geosparql#&gt; 
  INSERT DATA {    _:s :enabled "true" .  } 
      26764 [main] INFO  com.ontotext.plugin.GeoSPARQL  - &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GeoSPARQL: Initializing Lucene indexer... 
      26863 [main] INFO  com.ontotext.plugin.GeoSPARQL  -
          &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GeoSPARQL: Lucene indexer initialized! 
      26863 [main] INFO  com.ontotext.plugin.GeoSPARQL  - &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GeoSPARQL: Initializing indexing process... 
      32032 [main] INFO  com.ontotext.plugin.GeoSPARQL 
          - &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GeoSPARQL: Indexing completed! 
      52200 [main] WARN  com.ontotext.trree.free.GraphDBFreeSchemaRepository  - Closing active connection due to shut down; consider setting the org.eclipse.rdf4j.repository.debug system property 
      52596 [main] INFO  com.ontotext.trree.sdk.impl.PluginManager  - Shutting down plugins (DEFAULT)...
  </code></pre>