+ public void finished(AsyncReadGraph graph) {
+ finish(graph);
+ s.release();
+ };
+
+ @Override
+ public void exception(AsyncReadGraph graph, Throwable t) {
+ except(t);
+ s.release();
+ }
+
+ });
+
+ s.waitFor(1);
+
+ } catch (Throwable t) {
+
+ except(t);
+
+ }