Added try/ catch to avoid stream dying on one invalid item