Hopefully fixed fixed annoying hang when using 'subprocess' with Python2.7

  See http://bugs.python.org/issue12786 for details