loop on read.