fun <T> Iterator<T>.toSafeList(): List<T>
Extract safely a List from an Iterator - if an [Iterator.next()) call throws an error, ignore this call.