Changed termination reason in read loop.