only open /proc/stat handle once