* add an open client counter
* migrate the stats read/write stuff into a callback