@koush I think,It's not ideal for putting this variable into the SocketIOConnection object from single responsibility OO principle.and this variable is somewhat dealing with if not setting this static scope,please have a try?