Stalin got away with slaughtering the Communist Party over and over again, so with the army and even with the secret police. It is in fact believed that Stalin died just before another purge was launched.
What would had taken for the army, party, police or even a combination finally say "enough" and overthrow him?