Put this into a separate thread to avoid the UI to freeze. See https://github.com/OpenRA/OpenRA/blob/bleed/OpenRA.Game/Network/ServerList.cs#L26 for example.