When that used to happen (I'm an old man, so it has pretty much quit now), I used to hold the ratchet really close to the head of the ratchet.
Nowadays, people really freak out watching me work, I will use 1/2 inch and 2/8 inch to tear down, but I do a whole lot of reassemble with a 1/4 inch ratchet.