I have a spring boot application which does the Elastic search API call (CRUD operations) and it\'s running perfectly fine but at the time of shutdown(due to some server mainten