fixing a bug with blocking .next in EventReader