I too have learned that lesson. I pull the cap, put a drop on a piece of masking taped laid on the desk to dip into and set the bottle upright, cap off, until my pieces are glued. The glue runs back into the bottle and I wipe the tip. I squeeze it a few times to make sure the tip is clear and replace the cap. The cap never see wet glue so it does not try to stick. I also keep a hat pin handy in case the nozzle gets clogged. Since I usually make sure the nozzle is clear before I cap I have not needed to use it for a while now.