Artificial timeout for blocking process.
stream – The stream to read from, usually a process’ stdout or stderr.
Read lines from queue object.
Stop the readline.