reader thread kills itself off if there's an agent error