We are using popen and poll with timeout for reading output from a process. I have a case where we with popen