Maybe evaluate if successful and report error if not? Then you would probably need to Save() inside the while ... loop.