Fix bad reference in MessageBus<T>::waitForWork