Fix problem with process on Popen left running when parent got killed