private async Task <bool> initNetwork() { if (!_isPostToServer) { return(true); } try { ShowStatusMessage("Initializing network connection..."); return(await _mediaStream.Connect()); } catch (Exception ex) { ShowExceptionMessage("Initialize network", ex); return(false); } }