Safe exit (12/25)

Safe exit