Fix Bug#1196939 "Test engine kills all processes in some cases"