If _receive() returns None, receive() will now return len(self._messages).