Set the connection timeout duration in milliseconds.