Added waiting for restoring.