Set connection timeout when downloading remote files