Can you fix this before pushing?  It seems like it ought to be as easy as having some sort of explicit shutdown method, and being sure to call that from the tests.