reconnect every 100 files downloaded