added CURL timeout option