make sure that we don't return from reading if we hit a false EOF