Safe exit (20/25)

Safe exit