avoid infinite loop in response.__iter__