https://foojay.io/today/clean-shutdown-of-spring-boot-applications/
Clean Shutdown of Spring Boot Applications