public void Close()
 {
     _reader.Close();
     lock (_writer)
     {
         _writer.Close();
     }
 }