Safe exit (18/25)

Safe exit