public void FixtureTearDown() { if (FDataSession != null) { // Close the data session FDataSession.Close(); } // Send to stop the server FProcess.StandardInput.WriteLine(); // Wait for the process FProcess.WaitForExit(30000); if (!FProcess.HasExited) { FProcess.Kill(); } // Wait a little bit longer FProcess.WaitForExit(5000); // Try to reset the instance FConfigurationManager.ResetInstance(); }