Setup connect timeout in curl.

Now curl will try to connect to docker daemon no longer then 10 seconds.