It's the adjusting cap that is loose, not the axle nut itself most likely. So it's probably not as dangerous as you're thinking. I lubed up everything and put on a castle nut with a cotter pin per this thread. No noises in the last 70K miles.
FIXED: Rear axle click clunk noise