Fixed atexit message

in this way when we call regain_privs from atexit we get the debug message, and we don't when we call it from ssl* stuff