verify that subprocess is killed