}
@Override
public Object call() throws Exception {
FaunusCompiler compiler = faunusPipeline.getCompiler();
FaunusJobControl jobControl = new FaunusJobControl(faunusPipeline.getGraph(), compiler.getJobs());
Thread thread = new Thread(jobControl);
thread.start();
logger.debug("Submitted job");
try {
while (!jobControl.allFinished()) {
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
// ignore
}