[PATCH 4/4] ipmon(): call init/destroy functions in LIFO order