The ltib script uses wget too, and specifies options for wget in variable wget_opts. The timeout and number of retries are probably less than the defaults used when you call wget from the command line. If you modify wget_opts to increase those values, you might be able to make wget work when called by ltib.