Simplify and avoid calling exitValue() twice if the process has ended.

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1517964 13f79535-47bb-0310-9956-ffa450edef68