ftp: reconnect on tcp read error