Sorry, I'm confused, I can't find a way to test that a connection is closed.