'When a SocksUDPConnection connection is closed twice, it should just
return True'

@blocking_call_on_reactor_thread
@inlineCallbacks
def test_double_close(self):

    (yield self.connection.close())
    self.assertIsNone(self.connection.listen_port)
    self.assertTrue(self.connection.close())
