This function puts the callback in a queue of callbacks to
call when pike exits. The call order is reversed, i.e. callbacks
that have been added earlier are called after callback .
Note
Please note that atexit callbacks are not called if Pike
exits abnormally.