add an explict timeout when getting files, should fix issue #39