Add if statement to handle shutting down the cluster