added connection timeout option for CLI fetching