Removed System.exit(0) call.

This should be done by application.