Remove Exit in Library

Exiting should not be done in library.