private void DisposeApp() { if (p2pApplication != null) { p2pApplication.Dispose(); p2pApplication = null; } }