isData Peek call was blocking. Changed to nonblocking. No more freezing.