QPID-4890: added workaround to test to handle issues with closing stdin of subprocesses under older python interpreters

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