Try to read a line from the stream queue.

def readline(self, timeout = 0.1):
        """Try to read a line from the stream queue.
        """
        try:
            return self._q.get(block = timeout is not None,
                               timeout = timeout)
        except Empty:
            return None