See my comment above about using an event-emitter. This option then can be changed to `waitForEvent: 'ready'`.