how to execute a code after the endless loops?

Printable View