Is there a way to gracefully shutdown a Rocket.Chat service?

For the context, I’m running multiple Rocket.Chat instances behind an AWS ALB. I find that whenever I did an upgrade, the existing clients of the service sometimes got blank screens and they had to refresh the page several times before they got connected properly. I’m not sure if we have a good upgrade guideline for deployments similar to mine.