you shouldn't process.exit(1) from the library.