Permissive try except loop on whitespace strip