Adds request timeout as a configuration value

Small change to allow manually setting the timeout passed to curl.