A quick example of how to handle graceful shutdowns on Modulus.io.