@@ -287,6 +287,7 @@ class DulwichTCPClientTest(CompatTestCase, DulwichClientTestBase):
os.unlink(self.pidfile)
except (OSError, IOError):
pass
+ self.process.wait()
self.process.stdout.close()
self.process.stderr.close()
DulwichClientTestBase.tearDown(self)