I think you've hit it on the head. When I loop the getlines, I get a timeout because the last getlines is waiting for the first line of data and never sees it. Hmm... well I still think I can rewrite the loop in such a way as to make this work for me.