It happens on every scheduled maintenance. How can I configure MySQL to close gracefully when a shutdown is being performed?