                     coordinator.GracefullShutdownInProgress = coordinator.GracefullShutdownInProgress.Remove(region);                     coordinator.ClearRebalanceInProgress(shard);                 }             }             else             {                 coordinator.ClearRebalanceInProgress(shard);             }         }          private static void Cl