Fail all the expected replies with a given error.

def fail_all(self, err):
        """Fail all the expected replies with a given error.
        """
        for c_id in self._futures:
            self._fail_reply(c_id, err)