I'm not sure about escaping the loop if it's an ending with a secret condition. I remember not getting any new levels and (maybe) a congratulations screen.