transfer closed with 518 bytes remaining to read