we need to keep the `else`s here though otherwise both functions will get called. so:

```js
if(err) onReady(err);
else cb(null);
```

Or we could do something like:

```js
if (err) return onReady(err);
cb(null);
```