Safe exit (13/25)

Safe exit