Fluon, or PTFE is the best escape prevention barrier for ant-keepers.
It is a fluoropolymer resin (PTFE-30, DISP30), milky white suspension that can be applied to any smooth surface such as glass, plastic, or metal.
Dip a cotton ball or cotton swab in the fluon and apply a 2-3 cm barrier in a circular motion on the top of an outworld or foraging area. Reapply as needed. This barrier should not be used in humid areas.
Turn the bottle every 2-3 weeks, or gently agitate it in order to make sure it doesn't settle.