protected override void FreeManaged() { // Call the base implementation to flush the output buffers if any. base.FreeManaged(); proxy.Close(); }