Clear on exit operation