transfer closed with 506 bytes remaining to read