Fix bug at read error management discovered by anti-virus block.