detect restart failure