def on_closed(self, connection, reply_code, reply_text):
        self.logger.info('on_closed: %r %r %r', connection,
                         reply_code, reply_text)
        self._stop()
Given X,q=[i,j,k] returns score = ||x_j - x_k||^2 - ||x_i - x_k||^2
dataset/ETHPy150Open pika/pika/tests/acceptance/async_test_base.py/AsyncTestCase.on_closed--crossover with--dataset/ETHPy150Open nextml/NEXT/next/apps/PoolBasedTripletMDS/algs/RandomSampling/utilsMDS.py/getTripletScore