[AESH-196]
the reader thread should try to read if there are unparsed input data before
polling for more.