refactoring for speed.  Do not close the writer anymore and use a near
real time reader.