Patches for popen test runs "forever" (workaraound) [sf#1891143] [#888]