Avoid rebalancing when shutting down