Allow setting of connection timeout