package uk.ac.ebi.biosamples;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

import uk.ac.ebi.biosamples.client.BioSamplesClient;

@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}

@@ -413,16 +413,39 @@
 gs) %7B%0A%09%09
+SpringApplication.exit(
 SpringAp
@@ -482,15 +482,16 @@
 s, args)
+)
 ;%0A%09%7D%0A%7D%0A

fix exit criteria