Quitting time: How to make a graceful exit