I'd recommend writing this as
```javascript
if (err)
    return callback(err);
callback(err, client);
```