def _send_and_expect(self, message, send, expect):
    try:
        return self._transport.send_and_receive(message.make(send), expect=expect)
    except AttributeError:
        self.logger.critical('Pool seems dead, child exits2.')
        raise
def _send_and_expect(self, message, send, expect):
    try:
        return self._transport.send_and_receive(message.make(send), expect=expect)
    except AttributeError:
        self.logger.critical('Pool seems dead, child exits2.')
        raise