async void HandshakeAsync() { try { _serverHasResponded = false; _proxy.HandshakeAsync(); await Task.Delay(TimeSpan.FromSeconds(_wait)); //RunOnUiThread(() => //{ if (!_serverHasResponded) { Toast.MakeText(this, "Working...", ToastLength.Long).Show(); } //}); } catch (Exception ex) { //RunOnUiThread(() => //{ DoEros(ex); //}); } }