I got a problem with my asp net core api project. I try to implement some basic checks (for example db-connectivity) and if the check fails, I want to graceful shutdown my appli