transfer closed with 500 bytes remaining to read