I tested it a bit more and yeah it appears that whenever the goblin comes to "fix" your leg shackles as they're already applied to you, you can't escape anymore. The "Assess" option stops showing their looseness/tightness and you're stuck there until you alt-f4 or give up.