Switch to new event loop as a thread and run until complete.

def start_subscribe_worker(self, loop):
        """ Switch to new event loop as a thread and run until complete. """
        url = self.base_url + "api/0.1.0/subscribe"
        task = loop.create_task(self.asynchronously_get_data(url + "?name={0}".format(self.entity_id)))
        asyncio.set_event_loop(loop)
        loop.run_until_complete(task)
        self.event_loop = loop