Will return error when eof reached and need more data
Temporarily commented debug output