public void TearDown() { endpoint?.Dispose(); endpoint = null; parameters?.Dispose(); parameters = null; descriptor?.Dispose(); descriptor = null; connectionGroup?.Dispose(); connectionGroup = null; }