Improve the unstable restart mechanism.

- maxUnstableRestarts is multiplied by the cluster size.
- after 1min, if no incident happens, the unstable restart is restart to 0.