These shouldn't be globals, otherwise we have a potential race condition in the case that multiple clients are created concurrently.

I would make a global:

```
const defaultTimeout = 3 * time.Second
```

Then in the function before you parse the query:
```
httpConnectTimeout := defaultTimeout
httpReadWriteTimeout := defaultTimeout
```