Tweak the leak detection algorithm a bit