how to restore interrupted state