hunt for killerchicken's socket counting problem