Fetch often times out in script, never at command line, and not when I enable fetch logging

A topic worth taking as a reference, you can see how it ended in the end...