Add ?close to Prime_io input iterators.