Allow the shell to exit cleanly