Safe exit (17/25)

Safe exit