@tornado.gen.coroutine
    def get_connected_client(self):
        if self.__sem is not None:
            yield self.__sem.acquire()
        client = None
        newly_created, client = self._get_client_from_pool_or_make_it()
        if newly_created:
            res = yield client.connect()
            if not(res):
                LOG.warning("can't connect to %s", client.title)
                raise tornado.gen.Return(ClientError("can't connect to %s" %
                                                     client.title))
        raise tornado.gen.Return(client)
Test tasks that don't store unless they go to error status like 'failed'
dataset/ETHPy150Open thefab/tornadis/tornadis/pool.py/ClientPool.get_connected_client--crossover with--dataset/ETHPy150Open pricingassistant/mrq/tests/test_raw.py/test_raw_no_storage