Done this for a few years since reading the tip somewhere, and yes, it does work.
Another tip? Tap the nozzle with your fingernail a few times after use, before you screw the top on. It seems to make any liquid glue that was just about to emerge and concrete the cap, fall back down the spout...