/// <summary>
/// Application closing, shutdown the SIP, Google Voice and STUN clients.
/// </summary>
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
_mediaManager.Close();
_sipClient.Shutdown();
if (_stunClient != null)
{
_stunClient.Stop();
}
}