Initialize onexit, don't set private data for non-global objs.

14 jobs for !34 with on_exit-generic in 29 minutes and 32 seconds (queued for 21 seconds)
latest merge request