Provide a way to set connection timeout

... and set a reasonable default of 8 seconds.