Fix an unrelated issue found when running test_interproc in reference leak mode