add isDestroyed for prevent restart after onDestroy