Save: don't exit from inside a library