There's a few different flavours on this escape, but pulling down on the headside knee is a common way of weakening the triangle choke and getting more time. I like to use it to apply a reverse-wedge on the opponents hips to open them up and release the triangle.