Fixed bug where <EOB> was not processed properly and things would look into an infinite loop.