Copied atexit() code from fakesmtp.c to fakepop.c so that its