$.signalR.connectionState is not array, here only loop through the properties of $.signalR.connectionState