emerge_main: call portdbapi destructors