Instead of calling this in `start().done`, call this in `stateChanged`
``JavaScript
if (change.oldState === $.signalR.connectionState.connecting &&
        change.newState === $.signalR.connectionState.connected) {
    //...
}