protected override void Dispose(bool disposing) { if (disposing) { ServicePointManager.CloseConnectionGroupForAllServicePoints(connectionGroupName); } base.Dispose(disposing); }