forward patch #42d4b9954b61802c534b6dec5330f554d2966da6 : handle exits of the test server so we find out whether it crashes.