fix one race condition with updating the connections simplifieduser connectioncount

this happened when we were writing to it in the hub because a user connected multiple times
it was racing with NAMES, the json marshalling trying to read the connection count