Cleanups - use exit_pluto(PLUTO_EXIT_NSS_FAIL) and some logging.