Connect to a RabbitMQ instance

        :returns: Boolean corresponding to success of connection
        :rtype: bool

def _connect(self):
        """
        Connect to a RabbitMQ instance

        :returns: Boolean corresponding to success of connection
        :rtype: bool

        """
        logger.info("Connecting to rabbit")
        for url in self._urls:
            try:
                self._connection = pika.BlockingConnection(pika.URLParameters(url))
                self._channel = self._connection.channel()
                self._declare()
                if self._confirm_delivery:
                    self._channel.confirm_delivery()
                    logger.info("Enabled delivery confirmation")
                logger.debug("Connected to rabbit")
                return True

            except pika.exceptions.AMQPConnectionError:
                logger.exception("Unable to connect to rabbit")
                continue
            except Exception:
                logger.exception("Unexpected exception connecting to rabbit")
                continue

        raise pika.exceptions.AMQPConnectionError