public override void Close()
 {
     CheckAsync();
     CoreWriter.Close();
 }