Error: transfer closed with 76973 bytes remaining to read