Break out of restore loop and check for null