Increase default timeout to 180 seconds.

Some API calls like getAllImages() may take longer than 90 seconds.
Add --timeout parameter to set connection timeout.