Fix resource leaks in test_subprocess.
1 file changed