Tee new log lines to file as well as to stdout

Handle errors for some situations;
Timeout is set for remote file downloading;