Cleanup xread() loops to use read_in_full()