Leave all states when exiting