protected override void Release() { base.Release(); if (_deviceClient != null) { _deviceClient.Close(); } if (_pacsServiceHolder != null) { _pacsServiceHolder.Close(); } }