Is it possible to run basex in embedded mode and also start REST service in another thread?